import type * as Square from "../../../../index"; /** * @example * { * teamMembers: { * "idempotency-key-1": { * teamMember: { * referenceId: "reference_id_1", * givenName: "Joe", * familyName: "Doe", * emailAddress: "joe_doe@gmail.com", * phoneNumber: "+14159283333", * assignedLocations: { * assignmentType: "EXPLICIT_LOCATIONS", * locationIds: ["YSGH2WBKG94QZ", "GA2Y9HSJ8KRYT"] * } * } * }, * "idempotency-key-2": { * teamMember: { * referenceId: "reference_id_2", * givenName: "Jane", * familyName: "Smith", * emailAddress: "jane_smith@gmail.com", * phoneNumber: "+14159223334", * assignedLocations: { * assignmentType: "ALL_CURRENT_AND_FUTURE_LOCATIONS" * } * } * } * } * } */ export interface BatchCreateTeamMembersRequest { /** * The data used to create the `TeamMember` objects. Each key is the `idempotency_key` that maps to the `CreateTeamMemberRequest`. * The maximum number of create objects is 25. * * If you include a team member's `wage_setting`, you must provide `job_id` for each job assignment. To get job IDs, * call [ListJobs](api-endpoint:Team-ListJobs). */ teamMembers: Record; }