{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/v1/aesthetic-records/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Aesthetic Records session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > aestheticRecords"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/appointments":{"post":{"operationId":"create-appointment","summary":"Create Appointment","description":"Create a client appointment","tags":["integrations > aestheticRecords"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:CreateAestheticRecordsAppointmentResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentRequest"}}}}},"get":{"operationId":"get-appointments","summary":"Get Appointments","description":"Get appointments for a list of providers","tags":["integrations > aestheticRecords"],"parameters":[{"name":"clinicId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"startDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"endDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"providerIds","in":"query","required":true,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsCalendarResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/clients":{"get":{"operationId":"get-clients","summary":"Get Clients","description":"Get a list of clients.","tags":["integrations > aestheticRecords"],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsClientsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/clients/{clientId}/appointments":{"get":{"operationId":"get-client-appointments","summary":"Get Client Appointments","description":"Get a list of appointments for a specific client.","tags":["integrations > aestheticRecords"],"parameters":[{"name":"clientId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsClientAppointmentsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/clients/{clientId}":{"get":{"operationId":"get-client","summary":"Get Client","description":"Get a client","tags":["integrations > aestheticRecords"],"parameters":[{"name":"clientId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsClientResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/clinics":{"get":{"operationId":"get-clinics","summary":"Get Clinics","description":"Get clinics","tags":["integrations > aestheticRecords"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsClinicsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/providers":{"get":{"operationId":"get-providers","summary":"Get Providers","description":"Get providers","tags":["integrations > aestheticRecords"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsProviderResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/products/inventory":{"get":{"operationId":"get-products","summary":"Get Products","description":"Get product inventory","tags":["integrations > aestheticRecords"],"parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsProductsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/products/price-list":{"get":{"operationId":"get-product-price-list","summary":"Get Product Price List","description":"Get product price list for a given clinic.","tags":["integrations > aestheticRecords"],"parameters":[{"name":"clinicId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"page","in":"query","required":false,"schema":{"type":"integer"}},{"name":"pageSize","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsProductPriceListResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/products/{productId}":{"get":{"operationId":"get-product","summary":"Get Product","description":"Get a product","tags":["integrations > aestheticRecords"],"parameters":[{"name":"productId","in":"path","required":true,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsGetProductResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/availability":{"get":{"operationId":"get-availability","summary":"Get Availability","description":"Get a list of provider availability for a given date and service.","tags":["integrations > aestheticRecords"],"parameters":[{"name":"appointmentType","in":"query","required":true,"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentModality"}},{"name":"clinicId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"duration","in":"query","description":"Duration in minutes of appointment","required":false,"schema":{"type":"integer"}},{"name":"providerIds","in":"query","description":"The providers that you want to get availability for","required":true,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"serviceIds","in":"query","description":"The services/types of appointments that you want to get availability for. See [getAppointmentTypes](/api-reference/api-reference/integrations/aesthetic-records/get-appointment-types) for how to view the list of available services and their ids.","required":true,"schema":{"type":"array","items":{"type":"integer"}}},{"name":"startDate","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsProviderAvailabilityResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/account":{"get":{"operationId":"get-account-data","summary":"Get Account Data","description":"Get data associated with all of the accounts for this MedSpa.","tags":["integrations > aestheticRecords"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAestheticRecordsAccountData"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/aesthetic-records/appointment-types":{"get":{"operationId":"get-appointment-types","summary":"Get Appointment Types","description":"Get a list of appointment types for a given provider and modality","tags":["integrations > aestheticRecords"],"parameters":[{"name":"providerId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"clinicId","in":"query","required":true,"schema":{"type":"integer"}},{"name":"modality","in":"query","required":true,"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentModality"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:GetAppointmentTypesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/agility/account":{"get":{"operationId":"get-account","summary":"Get Account","description":"Get account id","tags":["integrations > agility"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityGetAccountResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/agility/employees":{"get":{"operationId":"get-employees","summary":"Get Employees","description":"Get a list of employees","tags":["integrations > agility"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityGetEmployeesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}},"post":{"operationId":"create-employee","summary":"Create Employee","description":"Create an employee","tags":["integrations > agility"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityCreateEmployeeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string","format":"date"},"hireDate":{"type":"string","format":"date"},"workHours":{"type":"number","format":"double"},"currentSalary":{"type":"number","format":"double"},"salaryFrequency":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityEarningsPeriod"}},"required":["firstName","lastName","birthDate","hireDate","workHours","currentSalary","salaryFrequency"]}}}}}},"/v1/agility/invoices":{"get":{"operationId":"get-invoices","summary":"Get Invoices","description":"Get invoices","tags":["integrations > agility"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityGetInvoicesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/agility/policies":{"get":{"operationId":"get-policies","summary":"Get Policies","description":"Get a list of policies","tags":["integrations > agility"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityGetPoliciesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/agility/employees/{employeeId}":{"patch":{"operationId":"edit-employee","summary":"Edit Employee","description":"Edit an employee","tags":["integrations > agility"],"parameters":[{"name":"employeeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityEditEmployeeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"effectiveDateOfChange":{"type":"string","format":"date"},"firstName":{"type":"string"},"lastName":{"type":"string"},"earnings":{"type":"number","format":"double"},"workHours":{"type":"number","format":"double"},"earningsPeriod":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityEarningsPeriod"}},"required":["effectiveDateOfChange"]}}}}},"delete":{"operationId":"terminate-employee","summary":"Terminate Employee","description":"Terminate an employee","tags":["integrations > agility"],"parameters":[{"name":"employeeId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityEditEmployeeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dateOfTermination":{"type":"string","format":"date"},"terminationReason":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityTerminationReason"}},"required":["dateOfTermination"]}}}}}},"/v1/amazon/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Amazon session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > amazon"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon/items/buy-again":{"get":{"operationId":"get-buy-again-items","summary":"Get Buy Again Items","description":"Get a list of products that you can buy again or have purchased before.","tags":["integrations > amazon"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazon/types:AmazonGetBuyAgainResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon/items/buy-now":{"post":{"operationId":"buy-now","summary":"Buy Now","description":"Order an item. **The end user must have a default address and payment method set**. Either ASIN or a valid amazon url to the item must be present. If both are present, the ASIN will be used.","tags":["integrations > amazon"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazon/types:AmazonOrderItemResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"asin":{"type":"string"},"itemUrl":{"type":"string"}}}}}}}},"/v1/amazon/items/add-to-cart":{"post":{"operationId":"add-to-cart","summary":"Add To Cart","description":"Add an item to the cart. **The end user must have a default address and payment method set**. Either ASIN or a valid amazon url to the item must be present. If both are present, the ASIN will be used.","tags":["integrations > amazon"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazon/types:AmazonAddToCartResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"asin":{"type":"string"},"itemUrl":{"type":"string"}}}}}}}},"/v1/amazon/items/search":{"get":{"operationId":"search","summary":"Search","description":"Search for items.","tags":["integrations > amazon"],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"isWholeFoods","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazon/types:AmazonSearchItemsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon-business/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Amazon business session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon-business/orders":{"get":{"operationId":"get-orders","summary":"Get Orders","description":"Get your Amazon Business orders. The default timespan is 30 days and default startIndex is 0.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"timespan","in":"query","required":false,"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:OrdersTimespan"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"startIndex","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessGetOrdersResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon-business/items/buy-again":{"get":{"operationId":"get-buy-again-items","summary":"Get Buy Again Items","description":"Get a list of products that you can buy again or have purchased before.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessGetBuyAgainResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon-business/items/buy-now":{"post":{"operationId":"buy-now","summary":"Buy Now","description":"Order an item. **The end user must have a default address and payment method set**. Either ASIN or a valid amazon url to the item must be present. If both are present, the ASIN will be used.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessOrderItemResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"itemUrl":{"type":"string"},"asin":{"type":"string"}}}}}}}},"/v1/amazon-business/items/search":{"get":{"operationId":"search","summary":"Search","description":"Search for items.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"zipCode","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessSearchItemsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon-business/items/add-to-cart":{"post":{"operationId":"add-to-cart","summary":"Add To Cart","description":"Add an item to the cart. **The end user must have a default address and payment method set**. Either ASIN or a valid amazon url to the item must be present. If both are present, the ASIN will be used.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessAddToCartResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"itemUrl":{"type":"string"}},"required":["itemUrl"]}}}}}},"/v1/amazon-business/checkout":{"post":{"operationId":"checkout","summary":"Checkout","description":"Checkout an order. **The end user must have a default address and payment method set**.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessOrderItemResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"addressId":{"type":"string"},"creditCardLastFour":{"type":"string"}},"required":["addressId","creditCardLastFour"]}}}}}},"/v1/amazon-business/addresses":{"get":{"operationId":"get-addresses","summary":"Get Addresses","description":"Get your Amazon Business addresses.","tags":["integrations > amazonBusiness"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessGetAddressesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/amazon-seller/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Amazon Seller session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > amazonSeller"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/bookface/deals":{"get":{"operationId":"search-deals","summary":"Search Deals","description":"Search deals","tags":["integrations > bookface"],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/bookface/types:SearchDealsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/bookface/deals/{dealId}/using":{"post":{"operationId":"mark-deal-using","summary":"Mark Deal Using","description":"Mark a deal as using","tags":["integrations > bookface"],"parameters":[{"name":"dealId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/bookface/types:MarkDealUsingResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/dispatch-me/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Dispatch Me session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > dispatchMe"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/dispatch-me/customers/{customerId}":{"put":{"operationId":"edit-customer","summary":"Edit Customer","tags":["integrations > dispatchMe"],"parameters":[{"name":"customerId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:EditCustomerResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMeCustomer"}},"required":["customer"]}}}}}},"/v1/dispatch-me/customers":{"post":{"operationId":"create-customer","summary":"Create Customer","tags":["integrations > dispatchMe"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:CreateDispatchMeCustomerResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMeCustomer"}},"required":["customer"]}}}}},"get":{"operationId":"get-customers","summary":"Get Customers","tags":["integrations > dispatchMe"],"parameters":[{"name":"limit","in":"query","required":true,"schema":{"type":"integer"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:GetCustomersResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/dispatch-me/organizations":{"get":{"operationId":"get-account-organizations","summary":"Get Account Organizations","tags":["integrations > dispatchMe"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:GetAccountOrganizationsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/dispatch-me/jobs":{"get":{"operationId":"get-jobs","summary":"Get Jobs","tags":["integrations > dispatchMe"],"parameters":[{"name":"organizationId","in":"query","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":true,"schema":{"type":"integer"}},{"name":"status","in":"query","required":true,"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMeJobStatus"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:GetJobsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/dispatch-me/users":{"get":{"operationId":"get-users","summary":"Get Users","tags":["integrations > dispatchMe"],"parameters":[{"name":"limit","in":"query","required":true,"schema":{"type":"integer"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:GetDispatchMeUsersResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/dispatch-me/appointments":{"post":{"operationId":"create-appointment","summary":"Create Appointment","tags":["integrations > dispatchMe"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:CreateDispatchMeAppointmentResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"appointment":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMeAppointment"}},"required":["appointment"]}}}}}},"/v1/dispatch-me/notes":{"post":{"operationId":"create-note","summary":"Create Note","tags":["integrations > dispatchMe"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:CreateDispatchMeNoteResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMeNote"}},"required":["note"]}}}}}},"/v1/dispatch-me/customers/{customerId}/jobs":{"get":{"operationId":"get-jobs-by-customer","summary":"Get Customer Jobs","tags":["integrations > dispatchMe"],"parameters":[{"name":"customerId","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":true,"schema":{"type":"integer"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:GetDispatchMeJobsByCustomerResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/facebook/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Facebook session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > facebook"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/facebook/groups/{groupId}/message":{"post":{"operationId":"post-group-message","summary":"Post Group Message","description":"Post a message to a group","tags":["integrations > facebook"],"parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/facebook/types:PostGroupMessageResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","description":"The message to post to the group"}},"required":["message"]}}}}}},"/v1/facebook/groups/{groupId}/join":{"post":{"operationId":"join-group","summary":"Join Group","description":"Join a group","tags":["integrations > facebook"],"parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/facebook/types:JoinGroupResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/facebook/groups":{"get":{"operationId":"search-groups","summary":"Search Groups","description":"Search for groups","tags":["integrations > facebook"],"parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/facebook/types:SearchGroupsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/instagram/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Instagram session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > instagram"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/linkedin/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a LinkedIn session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > linkedin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/linkedin/invitations":{"get":{"operationId":"get-connection-invitations","summary":"Get Connection Invitations","description":"Get your the list of pending LinkedIn connection requests.","tags":["integrations > linkedin"],"parameters":[{"name":"startIndex","in":"query","required":false,"schema":{"type":"integer"}},{"name":"limit","in":"query","description":"Maximum of 100, which is a full page of connection requests.","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:InvitationRequestsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}},"post":{"operationId":"send-invitation-request","summary":"Send Invitation Request","description":"Send a LinkedIn invitation request","tags":["integrations > linkedin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:AcceptInvitationResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"profileName":{"type":"string","description":"The profile name of the person to connect to. For example for the account with the url \"https://www.linkedin.com/in/zacharyashen/\" the profile name would be \"zacharyashen\""}},"required":["profileName"]}}}}}},"/v1/linkedin/invitations/accept":{"post":{"operationId":"accept-connection-invitation","summary":"Accept Connection Invitation","description":"Accept a LinkedIn connection invitation","tags":["integrations > linkedin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:AcceptInvitationResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"profileUrl":{"type":"string"}},"required":["profileUrl"]}}}}}},"/v1/linkedin/posts":{"post":{"operationId":"create-post","summary":"Create Post","description":"Create a new LinkedIn post","tags":["integrations > linkedin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:CreatePostResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"content":{"type":"string"}},"required":["content"]}}}}}},"/v1/linkedin/search":{"get":{"operationId":"search","summary":"Search","description":"Search for people on LinkedIn","tags":["integrations > linkedin"],"parameters":[{"name":"firstName","in":"query","required":false,"schema":{"type":"string"}},{"name":"lastName","in":"query","required":false,"schema":{"type":"string"}},{"name":"startIndex","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Maximum of 50","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:SearchResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/linkedin/connections":{"get":{"operationId":"get-connections","summary":"Get Connections","description":"Get your LinkedIn connections","tags":["integrations > linkedin"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"startIndex","in":"query","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:GetConnectionsResult"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/linkedin/messages":{"post":{"operationId":"send-message","summary":"Send Message","description":"Send a LinkedIn message","tags":["integrations > linkedin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:LinkedInSendMessageResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string","description":"The profile name of the person to send the message to. For example for the account with the url \"https://www.linkedin.com/in/zacharyashen/\" the profile name would be \"zacharyashen\""},"content":{"type":"string"}},"required":["to","content"]}}}}}},"/v1/linkedin/messages/{profileName}":{"get":{"operationId":"get-messages","summary":"Get Messages","description":"Get your LinkedIn messages","tags":["integrations > linkedin"],"parameters":[{"name":"profileName","in":"path","description":"The profile name of the person to get the messages from. For example for the account with the url \"https://www.linkedin.com/in/zacharyashen/\" the profile name would be \"zacharyashen\"","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/linkedin/types:LinkedInGetMessagesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a perfect pricing session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/customers":{"post":{"operationId":"create-customer","summary":"Create Customer","description":"Create a perfect pricing customer","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:CreateCustomerResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:Customer"}}}}}},"/v1/ppp/customers/search":{"get":{"operationId":"search-customer-details","summary":"Search Customer","description":"Search for perfect pricing customer","tags":["integrations > ppp"],"parameters":[{"name":"firstName","in":"query","required":false,"schema":{"type":"string"}},{"name":"lastName","in":"query","required":false,"schema":{"type":"string"}},{"name":"phoneNumber","in":"query","required":false,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:SearchCustomerDetailsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/appointments":{"post":{"operationId":"create-appointment","summary":"Create Appointment","description":"Create a perfect pricing appointment","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:CreateAppointmentResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"phoneNumber":{"type":"string"},"serviceCallRequest":{"$ref":"#/components/schemas/type_integrations/ppp/types:ServiceCallRequest"}},"required":["serviceCallRequest"]}}}}}},"/v1/ppp/notes":{"post":{"operationId":"create-note","summary":"Create Note","description":"Create a perfect pricing note","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:CreateNoteResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"type":"string"},"phoneNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"required":["note"]}}}}}},"/v1/ppp/service-location":{"post":{"operationId":"create-service-location","summary":"Create Service Location","description":"Create a service location for a customer","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:CreateServiceLocationResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"locationName":{"type":"string"},"street1":{"type":"string"},"street2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"zip":{"type":"string"},"description":{"type":"string"},"latitude":{"type":"string"},"longitude":{"type":"string"},"phoneNumber":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"required":["locationName","street1","street2","city","state","zip","description"]}}}}}},"/v1/ppp/billing-terms":{"get":{"operationId":"get-billing-terms","summary":"Get Billing Terms","description":"Get perfect pricing billing terms","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetBillingTermsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/invoice-types":{"get":{"operationId":"get-invoice-types","summary":"Get Invoice Types","description":"Get perfect pricing invoice types","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetInvoiceTypesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/customer-types":{"get":{"operationId":"get-customer-types","summary":"Get Customer Types","description":"Get perfect pricing customer types","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetCustomerTypesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/arrival-window":{"get":{"operationId":"get-arrival-window","summary":"Get Arrival Window","description":"Get perfect pricing arrival window","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetArrivalWindowResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/service-call-type":{"get":{"operationId":"get-service-call-type","summary":"Get Service Call Type","description":"Get perfect pricing service call type","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetServiceCallTypeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/diagnostic-fee":{"get":{"operationId":"get-diagnostic-fee","summary":"Get Diagnostic Fee","description":"Get perfect pricing diagnostic fee","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetDiagnosticFeeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/service-call-status":{"get":{"operationId":"get-service-call-status","summary":"Get Service Call Status","description":"Get perfect pricing service call status","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetServiceCallStatusResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/lead-source":{"get":{"operationId":"get-lead-source","summary":"Get Lead Source","description":"Get perfect pricing lead source","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetLeadSourceResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/board-ids":{"get":{"operationId":"get-board-ids","summary":"Get Board Ids","description":"Get perfect pricing board ids","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetBoardIdsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/technicians":{"get":{"operationId":"get-technicians","summary":"Get Technicians","description":"Get perfect pricing technicians","tags":["integrations > ppp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetTechniciansResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/calendar":{"get":{"operationId":"get-calendar","summary":"Get Calendar","description":"Get perfect pricing calendar","tags":["integrations > ppp"],"parameters":[{"name":"boardId","in":"query","required":true,"schema":{"type":"string"}},{"name":"date","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetCalendarResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/ppp/customers/{phoneNumber}/jobs":{"get":{"operationId":"get-jobs-by-customer-ppp","summary":"Get Jobs By Customer","description":"Get perfect pricing jobs by customer","tags":["integrations > ppp"],"parameters":[{"name":"phoneNumber","in":"path","description":"The phone number of the customer. For example 123-456-7890","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/ppp/types:GetJobsByCustomerPPPResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/servicebox/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Service Box session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > servicebox"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/servicebox/receptionnaires":{"get":{"operationId":"get-receptionnaires","summary":"Get Receptionnaires","description":"Get the list of receptionnaires associated with this account","tags":["integrations > servicebox"],"parameters":[{"name":"equipe","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/servicebox/types:ReceptionnairesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/servicebox/equippes":{"get":{"operationId":"get-equippes","summary":"Get Equippes","description":"Get the list of equippes associated with this account","tags":["integrations > servicebox"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/servicebox/types:EquippesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/servicebox/bar-graph":{"get":{"operationId":"get-bar-graph","summary":"Get Bar Graph","description":"Get a bar graph of the number of events in each location","tags":["integrations > servicebox"],"parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string"}},{"name":"equipe","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/servicebox/types:BarGraphResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/servicebox/calendar":{"get":{"operationId":"get-calendar","summary":"Get Calendar","description":"Get the calendar","tags":["integrations > servicebox"],"parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string"}},{"name":"receptionnnaire","in":"query","required":true,"schema":{"type":"string"}},{"name":"equipe","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/servicebox/types:CalendarResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/toast/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Toast session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > toast"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/toast/menus":{"get":{"operationId":"get-menu","summary":"Get Menus","tags":["integrations > toast"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/toast/types:GetMenusResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/uber/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Uber session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > uber"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/uber/ride":{"post":{"operationId":"order-ride","summary":"Order Ride","tags":["integrations > uber"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/uber/types:OrderRideResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"origin":{"$ref":"#/components/schemas/type_integrations/uber/types:UberAddress"},"destination":{"$ref":"#/components/schemas/type_integrations/uber/types:UberAddress"},"carType":{"$ref":"#/components/schemas/type_integrations/uber/types:UberCarTypes"}},"required":["origin","destination","carType"]}}}}}},"/v1/venmo/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Venmo session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > venmo"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/venmo/transactions":{"get":{"operationId":"get-transactions","summary":"Get Transactions","tags":["integrations > venmo"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/venmo/types:GetTransactionsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a Vin session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > vin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/sales/appointments":{"post":{"operationId":"create-sales-appointment","summary":"Create Sales Appointment","description":"Create a sales appointment","tags":["integrations > vin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:CreateVinAppointmentResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"leadId":{"type":"string"},"customerId":{"type":"string"},"dealerId":{"type":"string"},"description":{"type":"string"},"endDate":{"type":"string"},"startDate":{"type":"string"},"assignedUserId":{"type":"string"}},"required":["leadId","customerId","dealerId","description","endDate","startDate","assignedUserId"]}}}}},"get":{"operationId":"get-appointments","summary":"Get Sales Appointments","description":"Get a list of sales appointments","tags":["integrations > vin"],"parameters":[{"name":"pageNumber","in":"query","required":true,"schema":{"type":"integer"}},{"name":"pageSize","in":"query","required":true,"schema":{"type":"integer"}},{"name":"startDate","in":"query","required":true,"schema":{"type":"string"}},{"name":"endDate","in":"query","required":true,"schema":{"type":"string"}},{"name":"dealerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetSalesAppointmentsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/users":{"get":{"operationId":"get-users","summary":"Get Users","description":"Get a list of users and assigned users ids.","tags":["integrations > vin"],"parameters":[{"name":"dealerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetUsersResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/dealers":{"get":{"operationId":"get-dealers","summary":"Get Dealers","description":"Get a list of dealers","tags":["integrations > vin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetVinDealersResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/customers":{"get":{"operationId":"search-customers","summary":"Search Customers","description":"Search for customers","tags":["integrations > vin"],"parameters":[{"name":"firstName","in":"query","required":true,"schema":{"type":"string"}},{"name":"lastName","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:SearchVinCustomersResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}},"post":{"operationId":"create-customer","summary":"Create Customer","description":"Create a customer","tags":["integrations > vin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:CreateVinCustomerResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"$ref":"#/components/schemas/type_integrations/vin/types:VinCustomer"},"dealerId":{"type":"string"},"sourceName":{"type":"string"},"sourceId":{"type":"string"},"vinUser":{"$ref":"#/components/schemas/type_integrations/vin/types:VinUser","description":"Defaults to authenticated user"},"leadTypeId":{"type":"string"},"notes":{"type":"string"}},"required":["customer","dealerId","sourceName","sourceId","leadTypeId"]}}}}}},"/v1/vin/vehicles":{"get":{"operationId":"get-vehicles","summary":"Get Vehicles","description":"Get a list of vehicles","tags":["integrations > vin"],"parameters":[{"name":"dealerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetVinVehiclesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/lead-source":{"get":{"operationId":"get-lead-source-options","summary":"Get Lead Sources","description":"Get a list of the lead sources for adding a customer","tags":["integrations > vin"],"parameters":[{"name":"dealerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetVinLeadSourceResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/lead-type":{"get":{"operationId":"get-lead-type-options","summary":"Get Lead Types","description":"Get a list of the lead types for adding a customer","tags":["integrations > vin"],"parameters":[{"name":"dealerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetVinLeadTypeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/company-type":{"get":{"operationId":"get-company-type-options","summary":"Get Company Types","description":"Get a list of the company types for adding a customer","tags":["integrations > vin"],"parameters":[{"name":"dealerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetVinCompanyTypeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/leads":{"post":{"operationId":"create-lead","summary":"Create Lead","description":"Create a lead","tags":["integrations > vin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:CreateVinLeadResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"customerId":{"type":"string"},"dealerId":{"type":"string"},"vehicleStockNumber":{"type":"string"},"sourceId":{"type":"string"},"leadTypeId":{"type":"string"},"inShowroom":{"type":"boolean"}},"required":["customerId","dealerId","vehicleStockNumber","sourceId","leadTypeId"]}}}}}},"/v1/vin/sales/appointment":{"get":{"operationId":"get-appointment","summary":"Get Sales Appointment","description":"Get a sales appointment","tags":["integrations > vin"],"parameters":[{"name":"appointmentId","in":"query","required":true,"schema":{"type":"string"}},{"name":"dealerId","in":"query","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:GetSalesAppointmentResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/vin/calls":{"post":{"operationId":"create-call","summary":"Create Call","description":"Create a call","tags":["integrations > vin"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/vin/types:CreateVinCallResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"leadId":{"type":"string"},"customerId":{"type":"string"},"dealerId":{"type":"string"},"phoneNumber":{"type":"string"},"note":{"type":"string"},"customerContactedCode":{"$ref":"#/components/schemas/type_integrations/vin/types:VinCustomerContactedCodes","description":"Y = Yes, N = No, M = Machine Answered"},"numberDialedCode":{"$ref":"#/components/schemas/type_integrations/vin/types:VinNumberDialedCodes","description":"The type of the customers phone number, either home, work, or cell. Found using the getCustomers endpoint."},"nextCallTimeFrame":{"type":"integer","description":"The number of days, hours, or months to wait before the next call."},"nextCallTimeSpanType":{"$ref":"#/components/schemas/type_integrations/vin/types:VinNextCallTimeSpanTypes","description":"The time span type for the next call, either days, hours, or months."},"outbound":{"type":"boolean","description":"Whether the call is outbound or inbound. If inbound, customer contacted code must be Yes."}},"required":["leadId","customerId","dealerId","phoneNumber","note","customerContactedCode","numberDialedCode","nextCallTimeFrame","nextCallTimeSpanType","outbound"]}}}}}},"/v1/whatsapp/groups/invite-code/{inviteCode}":{"get":{"operationId":"get-group-by-invite-code","summary":"Get Group by Invite Code","description":"Get a group by its invite code. The invite code is the part of the invite URL after https://chat.whatsapp.com/{inviteCode}.","tags":["integrations > whatsapp"],"parameters":[{"name":"inviteCode","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:GetGroupByInviteCodeResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/whatsapp/messages":{"post":{"operationId":"send-message","summary":"Send Message","description":"Send a message to a WhatsApp number.","tags":["integrations > whatsapp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:SendMessageResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"to":{"type":"string","description":"The phone number to send the message to."},"message":{"type":"string"}},"required":["to","message"]}}}}},"get":{"operationId":"get-messages","summary":"Get Messages","description":"Get your WhatsApp messages. Ordered from newest to oldest.","tags":["integrations > whatsapp"],"parameters":[{"name":"limit","in":"query","description":"Default is 100","required":false,"schema":{"type":"integer"}},{"name":"offset","in":"query","description":"Default is 0","required":false,"schema":{"type":"integer"}},{"name":"users","in":"query","description":"List of user ids to filter by. Something like [\"13472771442\", \"141234567890\"]","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"groups","in":"query","description":"List of group ids to filter by","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:GetMessagesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/whatsapp/groups/{groupId}":{"get":{"operationId":"get-group","summary":"Get Group","description":"Get a group by its ID. The group ID does not include @s.whatsapp.net.","tags":["integrations > whatsapp"],"parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:GetGroupResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/whatsapp/groups/{groupId}/messages":{"get":{"operationId":"get-group-messages","summary":"Get Group Messages","description":"Get messages from a group","tags":["integrations > whatsapp"],"parameters":[{"name":"groupId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:GetGroupMessagesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/whatsapp/users/{userId}/messages":{"get":{"operationId":"get-users-messages","summary":"Get User Messages","description":"Get messages from a user. The user ID does not include @s.whatsapp.net and should most likely be a phone number like \"13472771442\" (with the country code included).","tags":["integrations > whatsapp"],"parameters":[{"name":"userId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:GetUsersMessagesResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/whatsapp/messages/{messageId}":{"get":{"operationId":"get-message","summary":"Get Message","description":"Get a WhatsApp message","tags":["integrations > whatsapp"],"parameters":[{"name":"messageId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:GetWhatsAppMessageResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/whatsapp/status":{"post":{"operationId":"change-status","summary":"Change Status","description":"Change the status on WhatsApp. Text only supported","tags":["integrations > whatsapp"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:ChangeStatusResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"statusMessage":{"type":"string"}},"required":["statusMessage"]}}}}}},"/v1/x/session":{"post":{"operationId":"create-session","summary":"Create Session","description":"Create a X session that you can connect to via playwright. See [this link](/overview/integrations/custom-automations) for more info.","tags":["integrations > x"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/types:CreateSessionResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/x/followers":{"get":{"operationId":"get-followers","summary":"Get Followers","description":"Get the list of followers associated with this account","tags":["integrations > x"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/x/types:GetXFollowersResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/x/posts/following":{"get":{"operationId":"get-following-tweets","summary":"Get Following Tweets","description":"Get the latest tweets from the accounts you follow","tags":["integrations > x"],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}},{"name":"X-Account-Token","in":"header","description":"The account token that is associated with the end user linked to this account","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_integrations/x/types:GetXFollowingTweetsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/link/token":{"post":{"operationId":"create-link-token","summary":"Create Link Token","description":"Create a link token that can be used to link accounts","tags":["link"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_link:CreateLinkResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"linkConfig":{"$ref":"#/components/schemas/type_common/types:LinkConfig"}},"required":["linkConfig"]}}}}}},"/v1/linked-accounts":{"get":{"operationId":"get-linked-accounts","summary":"Get Linked Accounts","tags":["linked-accounts"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_linked-accounts:GetLinkedAccountsResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/linked-accounts/{linkedAccountId}":{"get":{"operationId":"get-linked-account","summary":"Get Linked Account","tags":["linked-accounts"],"parameters":[{"name":"linkedAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_linked-accounts:GetLinkedAccountResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}},"delete":{"operationId":"delete-linked-account","summary":"Delete Linked Account","tags":["linked-accounts"],"parameters":[{"name":"linkedAccountId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_linked-accounts:DeleteLinkedAccountResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}}}},"/v1/linked-accounts/token":{"post":{"operationId":"get-token","summary":"Get Token","tags":["linked-accounts"],"parameters":[{"name":"Authorization","in":"header","description":"Bearer authentication","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response with status 200","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_linked-accounts:GetTokenResponse"}}}},"400":{"description":"Error response with status 400","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"401":{"description":"Error response with status 401","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"404":{"description":"Error response with status 404","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}},"500":{"description":"Error response with status 500","content":{"application/json":{"schema":{"$ref":"#/components/schemas/type_common/errors:BaseError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"publicToken":{"type":"string"}},"required":["publicToken"]}}}}}}},"servers":[{"url":"https://api.trykeet.com","description":"Production"}],"components":{"schemas":{"type_common/types:ResponseStatus":{"type":"string","enum":["ok","error"],"title":"ResponseStatus"},"type_common/types:CreateSessionResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"wsUrl":{"type":"string"},"debuggerFullscreenUrl":{"type":"string"},"postSignInUrl":{"type":"string"}},"required":["status","wsUrl","postSignInUrl"],"title":"CreateSessionResponse"},"type_common/errors:BaseError":{"type":"object","properties":{"error":{"type":"string"}},"required":["error"],"title":"BaseError"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentModality":{"type":"string","enum":["in_person","virtual"],"title":"AestheticRecordsAppointmentModality"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentService":{"type":"object","properties":{"id":{"type":"integer"},"duration":{"type":"integer"},"confirmDeposit":{"type":"boolean"}},"required":["id","duration"],"title":"AestheticRecordsAppointmentService"},"type_integrations/aestheticRecords/types:AdditionalPaymentInfo":{"type":"object","properties":{"creditCardNumber":{"type":"integer"},"expirationDate":{"type":"string"},"cvv":{"type":"integer"}},"required":["creditCardNumber","expirationDate","cvv"],"title":"AdditionalPaymentInfo"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentRequest":{"type":"object","properties":{"patientId":{"type":"integer"},"patientName":{"type":"string"},"patientPhone":{"type":"string"},"patientEmail":{"type":"string"},"clinicId":{"type":"integer"},"doubleBooking":{"type":"boolean"},"patientToBeCharged":{"type":"integer","description":"How much to charge the patient in dollars right now. Usually 0 for no charge at the time of booking."},"date":{"type":"string","format":"date"},"time":{"type":"string","description":"The time of the appointment in 24 hour format (\"15:15:00\")"},"notes":{"type":"string","description":"Notes to attach to the appointment booking."},"typeOfAppointment":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentModality"},"outsideScheduledHours":{"type":"boolean"},"appointmentService":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentService"},"description":"The services that you want to book. You can get a list of available services from the [getAppointmentTypes](/api-reference/api-reference/integrations/aesthetic-records/get-appointment-types) endpoint."},"duration":{"type":"integer","description":"The duration of the appointment in minutes. You can find the duration of each service from the [getAppointmentTypes](/api-reference/api-reference/integrations/aesthetic-records/get-appointment-types) endpoint."},"providerId":{"type":"integer"},"clearentEmailId":{"type":"string","description":"The email address associated with the person paying. Usually the same as the person who is making the booking."},"clearentZip":{"type":"string","description":"The zip code of the person who is paying for the booking. Usually the same as the person who is making the booking."},"paymentInfo":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AdditionalPaymentInfo"}},"required":["patientId","patientName","patientPhone","patientEmail","clinicId","doubleBooking","patientToBeCharged","date","time","notes","typeOfAppointment","outsideScheduledHours","appointmentService","duration","providerId","clearentEmailId","clearentZip","paymentInfo"],"title":"AestheticRecordsAppointmentRequest"},"type_integrations/aestheticRecords/types:CreateAestheticRecordsAppointmentResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateAestheticRecordsAppointmentResponse"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointment":{"type":"object","properties":{"id":{"type":"integer"},"patient_id":{"type":"integer"},"appointment_datetime":{"type":"string"},"appointment_start_on":{"type":"string"},"appointment_endtime":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"format_time":{"type":"string"},"format_date":{"type":"string"},"meeting_url":{"type":"string"},"start_time":{"type":"string"},"end_time":{"type":"string"},"appointment_timezone_abbr":{"type":"string"},"display_status":{"type":"string"}},"required":["id","patient_id","appointment_datetime","appointment_start_on","appointment_endtime"],"title":"AestheticRecordsAppointment"},"type_integrations/aestheticRecords/types:AestheticRecordsClinic":{"type":"object","properties":{"id":{"type":"integer"},"clinic_name":{"type":"string"}},"required":["id","clinic_name"],"title":"AestheticRecordsClinic"},"type_integrations/aestheticRecords/types:AestheticRecordsClientGet":{"type":"object","properties":{"id":{"type":"integer"},"user_id":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"nick_name":{"type":"string"},"email":{"type":"string"},"email_2":{"type":"string"},"email_3":{"type":"string"},"email_4":{"type":"string"},"referral_person":{"type":"string"},"referral_source":{"description":"Any type"},"referral_source_subcategory":{"description":"Any type"},"phoneNumber":{"type":"string"},"phoneNumber_2":{"type":"string"},"phoneNumber_3":{"type":"string"},"phoneNumber_4":{"type":"string"},"gender":{"type":"string"},"date_of_birth":{"type":"string"},"address_line_1":{"type":"string"},"address_line_2":{"type":"string"},"user_image":{"type":"string"},"allergies":{"description":"Any type"},"current_medication":{"description":"Any type"},"pincode":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"country":{"type":"string"},"treatment_summary":{"description":"Any type"},"created":{"type":"string"},"modified":{"type":"string"},"status":{"type":"integer"},"deleted_at":{"description":"Any type"},"brilliant_acc_number":{"description":"Any type"},"brilliant_password":{"description":"Any type"},"aspire_acc_email":{"description":"Any type"},"aspire_password":{"description":"Any type"},"access_portal":{"type":"integer"},"total_sale_relationship":{"type":"integer"},"satisfaction_score":{"description":"Any type"},"average_service_days":{"type":"integer"},"is_fired":{"type":"integer"},"do_not_call":{"type":"integer"},"is_monthly_membership":{"type":"integer"},"ssn_number":{"description":"Any type"},"total_surveys":{"type":"integer"},"do_not_sms":{"type":"integer"},"referral_other":{"description":"Any type"},"member_type":{"description":"Any type"},"emergency_contact_name":{"description":"Any type"},"emergency_contact_number":{"description":"Any type"},"membership_cancelled_reason":{"type":"string"},"unique_id":{"description":"Any type"},"clinic_id":{"type":"integer"},"middlename":{"description":"Any type"},"medical_history_consent":{"type":"integer"},"cherry_patient_id":{"type":"string"},"cherry_creation_processing":{"type":"boolean"},"cherry_refreshing_processing":{"type":"boolean"},"aspire_enrolled_email":{"type":"string"},"ghl_contact_id":{"description":"Any type"},"xperience_username":{"description":"Any type"},"xperience_password":{"description":"Any type"},"do_not_email":{"type":"integer"},"stripe_customer_id":{"description":"Any type"},"non_binary_body_template":{"type":"integer"},"shopify_customer_id":{"type":"integer"},"repeat_md_patient_id":{"description":"Any type"},"xperience_status":{"type":"integer"},"aspire_status":{"type":"integer"},"evolus_status":{"type":"integer"},"repeatmd_status":{"type":"integer"},"alle_status":{"type":"integer"},"full_name":{"type":"string"},"upcoming_appointment_count":{"type":"integer"},"leadStar":{"type":"boolean"},"documentsExpirationDate":{"description":"Any type"},"user_image_url":{"type":"string"},"country_name":{"description":"Any type"},"last_appointment":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointment"}},"procedure":{"type":"array","items":{"description":"Any type"}},"patient_membership_subscription":{"type":"array","items":{"description":"Any type"}},"clinic":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsClinic"}},"required":["id","user_id","firstname","lastname","full_name"],"title":"AestheticRecordsClientGet"},"type_integrations/aestheticRecords/types:AestheticRecordsLink":{"type":"object","properties":{"url":{"type":"string"},"label":{"type":"string"},"active":{"type":"boolean"}},"required":["label","active"],"title":"AestheticRecordsLink"},"type_integrations/aestheticRecords/types:AestheticRecordsPagination":{"type":"object","properties":{"current_page":{"type":"integer"},"first_page_url":{"type":"string"},"from":{"type":"integer"},"last_page":{"type":"integer"},"last_page_url":{"type":"string"},"links":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsLink"}},"next_page_url":{"type":"string"},"path":{"type":"string"},"per_page":{"description":"Any type"},"prev_page_url":{"type":"string"},"to":{"type":"integer"},"total":{"type":"integer"}},"required":["current_page","first_page_url","from","last_page","links","path","per_page","to","total"],"title":"AestheticRecordsPagination"},"type_integrations/aestheticRecords/types:GetAestheticRecordsClientsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"clients":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsClientGet"}},"pagination":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsPagination"}},"required":["status","clients","pagination"],"title":"GetAestheticRecordsClientsResponse"},"type_integrations/aestheticRecords/types:GetAestheticRecordsClientAppointmentsResponse":{"type":"object","properties":{"appointments":{"description":"Any type"},"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["appointments","status"],"title":"GetAestheticRecordsClientAppointmentsResponse"},"type_integrations/aestheticRecords/types:GetAestheticRecordsClientResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"client":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsClientGet"}},"required":["status","client"],"title":"GetAestheticRecordsClientResponse"},"type_integrations/aestheticRecords/types:AestheticRecordsDetailedClinic":{"type":"object","properties":{"id":{"type":"integer"},"clinic_name":{"type":"string"},"contact_no":{"type":"string"},"city":{"type":"string"},"country":{"type":"string"},"address":{"type":"string"},"tax":{"type":"string"},"status":{"type":"boolean"},"created":{"type":"string"},"modified":{"type":"string"},"timezone":{"type":"string"},"appointment_notification_emails":{"description":"Any type"},"clinic_color":{"type":"string"},"sms_notifications_phone":{"description":"Any type"},"email_special_instructions":{"description":"Any type"},"is_available_online":{"type":"integer"},"clinic_city":{"type":"string"},"clinic_state":{"type":"string"},"clinic_zipcode":{"type":"string"},"cherry_practice_id":{"type":"string"},"suite_number":{"type":"string"},"requires_update":{"type":"boolean"},"evolus_facility_id":{"description":"Any type"},"additional_location_booking":{"description":"Any type"},"is_available_ecommerce":{"type":"integer"},"is_tips_enabled":{"type":"integer"},"repeat_md_location_id":{"description":"Any type"}},"required":["id","clinic_name"],"title":"AestheticRecordsDetailedClinic"},"type_integrations/aestheticRecords/types:GetAestheticRecordsClinicsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"clinics":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsDetailedClinic"}}},"required":["status","clinics"],"title":"GetAestheticRecordsClinicsResponse"},"type_integrations/aestheticRecords/types:AestheticRecordsUser":{"type":"object","properties":{"id":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"appointment_color":{"type":"string"},"role_name":{"type":"string"},"user_image_url":{"type":"string"},"signature_url":{"type":"string"},"full_name":{"type":"string"}},"required":["id","firstname","lastname","appointment_color","full_name"],"title":"AestheticRecordsUser"},"type_integrations/aestheticRecords/types:GetAestheticRecordsProviderResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"providers":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsUser"}}},"required":["status","providers"],"title":"GetAestheticRecordsProviderResponse"},"type_integrations/aestheticRecords/types:AestheticRecordsCategory":{"type":"object","properties":{"id":{"type":"integer"},"category_name":{"type":"string"},"tax":{"type":"integer"},"is_system_category":{"type":"integer"},"status":{"type":"integer"},"copied":{"type":"integer"},"system_category_id":{"type":"integer"},"created":{"type":"string"},"modified":{"type":"string"},"cat_status":{"type":"integer"},"is_bundle_category":{"type":"integer"}},"required":["id","category_name"],"title":"AestheticRecordsCategory"},"type_integrations/aestheticRecords/types:AestheticRecordsProductPrice":{"type":"object","properties":{"id":{"type":"integer"},"product_name":{"type":"string"},"category_id":{"type":"string"},"category_name":{"type":"string"},"price_per_unit_members":{"type":"integer"},"price_per_unit":{"type":"integer"},"product_price_per_clinic_id":{"type":"integer"},"product_image_url":{"type":"string"}},"required":["id","price_per_unit_members","price_per_unit"],"title":"AestheticRecordsProductPrice"},"type_integrations/aestheticRecords/types:AestheticRecordsProduct":{"type":"object","properties":{"id":{"type":"integer"},"batch_id":{"description":"Any type"},"category_id":{"type":"string"},"product_name":{"type":"string"},"match_pattern":{"description":"Any type"},"product_sku":{"description":"Any type"},"product_description":{"type":"string"},"product_image":{"description":"Any type"},"tax":{"type":"integer"},"type":{"type":"string"},"product_type":{"type":"string"},"product_type_label":{"type":"string"},"is_system_product":{"type":"integer"},"price_per_unit":{"type":"number","format":"double"},"cost_per_unit":{"type":"number","format":"double"},"available_stock":{"type":"integer"},"stock_alert":{"type":"integer"},"lab_id":{"description":"Any type"},"toxin_type":{"type":"string"},"fillerMoleculeId":{"description":"Any type"},"status":{"type":"integer"},"price":{"type":"number","format":"double"},"copied":{"type":"integer"},"system_product_id":{"type":"integer"},"is_new_product":{"type":"integer"},"created":{"type":"string"},"modified":{"type":"string"},"is_inventory_enabled":{"type":"integer"},"is_stock_inventory_enabled":{"type":"integer"},"is_supplier_enabled":{"type":"integer"},"is_tax_enabled":{"type":"integer"},"is_product_active":{"type":"integer"},"cost_to_company":{"type":"number","format":"double"},"price_per_unit_members":{"description":"Any type"},"count_units_by":{"type":"number","format":"double"},"start_at_unit":{"type":"number","format":"double"},"product_ratio_enabled":{"type":"integer"},"ratio":{"type":"integer"},"product_service":{"type":"string"},"keywords":{"type":"string"},"bill_for_whole_unit":{"type":"integer"},"account_medical_supplies_in_reports":{"type":"integer"},"is_autodeduct_enabled":{"type":"integer"},"product_per_clinic":{"type":"integer"},"is_evolus_product":{"type":"boolean"},"shopify_product_id":{"type":"integer"},"shopify_product_variant_id":{"type":"integer"},"shopify_default_clinic_id":{"type":"integer"},"inventory_type":{"description":"Any type"},"cat_id":{"type":"integer"},"category_name":{"type":"string"},"product_image_url":{"type":"string"},"category":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsCategory"},"product_inventory":{"description":"Any type"},"total_available_units":{"type":"integer"},"product_price_per_clinic":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsProductPrice"}}},"required":["id","category_id","product_name","product_type","is_system_product","available_stock","stock_alert","toxin_type","status","cost_to_company","product_inventory"],"title":"AestheticRecordsProduct"},"type_integrations/aestheticRecords/types:AestheticRecordsCategoryList":{"type":"object","properties":{"id":{"type":"integer"},"category_name":{"type":"string"}},"required":["id","category_name"],"title":"AestheticRecordsCategoryList"},"type_integrations/aestheticRecords/types:GetAestheticRecordsProductsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"products":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsProduct"}},"pagination":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsPagination"},"category_list":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsCategoryList"}}},"required":["status","products","pagination"],"title":"GetAestheticRecordsProductsResponse"},"type_integrations/aestheticRecords/types:GetAestheticRecordsProductPriceListResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"priceList":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsProductPrice"}},"pagination":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsPagination"}},"required":["status","priceList","pagination"],"title":"GetAestheticRecordsProductPriceListResponse"},"type_integrations/aestheticRecords/types:GetAestheticRecordsGetProductResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"product":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsProduct"}},"required":["status","product"],"title":"GetAestheticRecordsGetProductResponse"},"type_integrations/aestheticRecords/types:AestheticRecordsDetailedProvider":{"type":"object","properties":{"id":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"full_name":{"type":"string"},"bio_description":{"type":"string"},"bio_name":{"type":"string"},"status":{"type":"string"},"user_image":{"type":"string"},"user_role_id":{"type":"integer"},"role_name":{"type":"string"},"user_image_url":{"type":"string"},"signature_url":{"type":"string"}},"required":["id","firstname","lastname","full_name","status","user_role_id"],"title":"AestheticRecordsDetailedProvider"},"type_integrations/aestheticRecords/types:AestheticRecordsProviderAvailability":{"type":"object","properties":{"available_days":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}},"provider":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsDetailedProvider"},"unique_dates":{"type":"array","items":{"type":"string"}},"first_available":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"description":"First available date for each service. If the provider has no availability this will be null."},"time_format":{"type":"string"}},"required":["available_days","provider","unique_dates","time_format"],"title":"AestheticRecordsProviderAvailability"},"type_integrations/aestheticRecords/types:GetAestheticRecordsProviderAvailabilityResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"availability":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsProviderAvailability"}},"required":["status","availability"],"title":"GetAestheticRecordsProviderAvailabilityResponse"},"type_integrations/aestheticRecords/types:AestheticRecordsProvider":{"type":"object","properties":{"id":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"full_name":{"type":"string"}},"required":["id","firstname","lastname","full_name"],"title":"AestheticRecordsProvider"},"type_integrations/aestheticRecords/types:AestheticRecordsPatient":{"type":"object","properties":{"id":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"email":{"type":"string"},"phoneNumber":{"type":"string"},"user_image_url":{"type":"string"},"country_name":{"type":"string"},"full_name":{"type":"string"}},"required":["id","firstname","lastname","full_name"],"title":"AestheticRecordsPatient"},"type_integrations/aestheticRecords/types:AestheticRecordsServiceAppointment":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"},"duration":{"type":"integer"},"mins":{"type":"integer"},"hours":{"type":"integer"}},"required":["id","name","duration","mins","hours"],"title":"AestheticRecordsServiceAppointment"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentExt":{"type":"object","properties":{"id":{"type":"integer"},"duration":{"type":"integer"},"confirmDeposit":{"type":"boolean"},"appointment_id":{"type":"integer"},"service_id":{"type":"integer"},"created":{"type":"string"},"modified":{"type":"string"},"service":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsServiceAppointment"}},"required":["id","duration","appointment_id","service_id","created","modified","service"],"title":"AestheticRecordsAppointmentExt"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentBooking":{"type":"object","properties":{"id":{"type":"integer"},"appointment_id":{"type":"integer"},"booked_by":{"type":"string"},"booked_by_user":{"type":"integer"},"booking_datetime":{"type":"string"},"booking_payment_id":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"appointment_notes":{"type":"string"},"created":{"type":"string"},"modified":{"type":"string"},"is_override_allowed":{"type":"integer"}},"required":["id","appointment_id","booked_by","booked_by_user","booking_datetime","booking_payment_id","firstname","lastname","created","modified","is_override_allowed"],"title":"AestheticRecordsAppointmentBooking"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentCancellationTransaction":{"type":"object","properties":{"id":{"type":"integer"},"appointment_id":{"type":"integer"},"status":{"type":"string"},"authorize_transaction_id":{"type":"string"},"charge_transaction_id":{"type":"string"},"cancellation_fee":{"type":"integer"},"refund_transaction_id":{"type":"string"},"created":{"type":"string"},"modified":{"type":"string"},"refund_date":{"type":"string"},"stripe_user_id":{"type":"string"},"charge_days":{"type":"integer"}},"required":["id","appointment_id","cancellation_fee","created","modified","charge_days"],"title":"AestheticRecordsAppointmentCancellationTransaction"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentRecord":{"type":"object","properties":{"id":{"type":"integer"},"patient_id":{"type":"integer"},"appointment_datetime":{"type":"string"},"appointment_start_on":{"type":"string"},"appointment_endtime":{"type":"string"},"date":{"type":"string"},"time":{"type":"string"},"format_time":{"type":"string"},"format_date":{"type":"string"},"meeting_url":{"type":"string"},"start_time":{"type":"string"},"end_time":{"type":"string"},"appointment_timezone_abbr":{"type":"string"},"display_status":{"type":"string"},"meeting_id":{"type":"string"},"meeting_type":{"type":"string"},"invoice_id":{"type":"integer"},"package_id":{"type":"integer"},"booking_id":{"type":"integer"},"user_id":{"type":"integer"},"clinic_id":{"type":"integer"},"duration":{"type":"integer"},"status":{"type":"string"},"type":{"type":"string"},"appointment_type":{"type":"string"},"patient_checkedin":{"type":"integer"},"accepted":{"type":"integer"},"is_confirmed":{"type":"integer"},"is_reschedule":{"type":"integer"},"appointment_timezone":{"type":"string"},"users_id":{"type":"integer"},"patient":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsPatient"},"clinic":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsClinic"},"user":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsUser"},"appointment_services":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentExt"}},"procedure":{"description":"Any type"},"appointment_booking":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentBooking"},"appointments_checkin":{"description":"Any type"},"appointment_cancellation_transaction":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentCancellationTransaction"}},"out_of_office":{"description":"Any type"},"color":{"type":"string"},"appointment_start_time":{"type":"string"},"appointment_end_time":{"type":"string"},"appointment_date":{"type":"string"}},"required":["id","patient_id","appointment_datetime","appointment_start_on","appointment_endtime","booking_id","user_id","clinic_id","duration","status","type","appointment_type","patient_checkedin","accepted","is_confirmed","is_reschedule","appointment_timezone","users_id","clinic","user","appointment_services","appointment_booking","appointment_cancellation_transaction","color","appointment_start_time","appointment_end_time","appointment_date"],"title":"AestheticRecordsAppointmentRecord"},"type_integrations/aestheticRecords/types:AestheticRecordsSchedule":{"type":"object","properties":{"id":{"type":"integer"},"provider_id":{"type":"integer"},"clinic_id":{"type":"integer"},"template_name":{"type":"string"},"date_scheduled":{"type":"string"},"date_scheduled_event":{"type":"string"},"from_time":{"type":"string"},"to_time":{"type":"string"},"start":{"type":"string"},"end":{"type":"string"},"schedule_type":{"type":"string"},"available_for":{"type":"string"},"timezone":{"type":"string"}},"required":["id","provider_id","clinic_id","date_scheduled","from_time","to_time","start","end"],"title":"AestheticRecordsSchedule"},"type_integrations/aestheticRecords/types:AestheticRecordsWorkingHours":{"type":"object","properties":{"date":{"type":"string"},"schedule":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsSchedule"}}},"required":["date","schedule"],"title":"AestheticRecordsWorkingHours"},"type_integrations/aestheticRecords/types:AestheticRecordsResources":{"type":"object","properties":{"id":{"type":"integer"},"firstname":{"type":"string"},"lastname":{"type":"string"},"full_name":{"type":"string"},"working_hours":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsWorkingHours"}}},"required":["id","firstname","lastname","full_name","working_hours"],"title":"AestheticRecordsResources"},"type_integrations/aestheticRecords/types:AestheticRecordsCalendar":{"type":"object","properties":{"clinics":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsClinic"}},"providers":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsProvider"}},"clinic_id":{"type":"integer"},"appointments":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentRecord"}},"resources":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsResources"}},"doctor_ids":{"type":"array","items":{"type":"integer"}},"service_ids":{"type":"array","items":{"description":"Any type"}},"clinicOpensAt":{"type":"string"},"clinicClosesAt":{"type":"string"},"opensAt":{"type":"string"},"closesAt":{"type":"string"},"clinic_timezone":{"type":"string"}},"required":["clinics","providers","appointments","resources","doctor_ids","clinicOpensAt","clinicClosesAt","opensAt","closesAt","clinic_timezone"],"title":"AestheticRecordsCalendar"},"type_integrations/aestheticRecords/types:GetAestheticRecordsCalendarResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"calendar":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsCalendar"}},"required":["status","calendar"],"title":"GetAestheticRecordsCalendarResponse"},"type_integrations/aestheticRecords/types:GetAestheticRecordsAccountData":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"accountData":{"description":"Any type"}},"required":["status","accountData"],"title":"GetAestheticRecordsAccountData"},"type_integrations/aestheticRecords/types:AestheticRecordsService":{"type":"object","properties":{"id":{"type":"integer"},"user_id":{"type":"integer"},"name":{"type":"string"},"category_id":{"type":"integer"},"is_device_dependent":{"type":"integer"},"is_available_online":{"type":"integer"},"is_service_free":{"type":"integer"},"is_gfe_required":{"type":"integer"},"free_consultation":{"type":"integer"},"duration":{"type":"integer"},"custom_duration":{"type":"integer"},"description":{"type":"string"},"status":{"type":"integer"},"date_created":{"type":"string"},"date_modified":{"type":"string"},"order_by":{"type":"integer"},"survey_id":{"type":"integer"},"added_by":{"type":"integer"},"modified_by":{"type":"integer"},"deleted_by":{"type":"integer"},"deleted_on":{"type":"string"},"is_pre_payment_accepted":{"type":"integer"},"deposit":{"type":"integer"},"price":{"type":"string"},"service_type":{"type":"string"},"service_charge_type":{"type":"string"},"questionnaire_type":{"type":"string"},"mins":{"type":"integer"},"hours":{"type":"integer"}},"required":["id","user_id","name","category_id","duration","custom_duration","description","status","date_created","date_modified","order_by","survey_id","added_by","modified_by","deleted_by","deleted_on","is_pre_payment_accepted","deposit","price","service_type","service_charge_type","questionnaire_type","mins","hours"],"title":"AestheticRecordsService"},"type_integrations/aestheticRecords/types:AestheticRecordsAppointmentType":{"type":"object","properties":{"services":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsService"}},"packages":{"description":"Any type"},"clinic":{"description":"Any type"}},"required":["services","packages","clinic"],"title":"AestheticRecordsAppointmentType"},"type_integrations/aestheticRecords/types:GetAppointmentTypesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"appointmentTypes":{"$ref":"#/components/schemas/type_integrations/aestheticRecords/types:AestheticRecordsAppointmentType"}},"required":["status","appointmentTypes"],"title":"GetAppointmentTypesResponse"},"type_integrations/agility/types:AgilityGetAccountResponse":{"type":"object","properties":{"status":{"type":"string"},"accountId":{"type":"string"}},"required":["status","accountId"],"title":"AgilityGetAccountResponse"},"type_integrations/agility/types:AgilityEmployee":{"type":"object","properties":{"id":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"},"birthDate":{"type":"string","format":"date"},"hireDate":{"type":"string","format":"date"},"employmentStatus":{"type":"string"},"terminationDate":{"type":"string","format":"date"}},"required":["id","firstName","lastName","birthDate","hireDate","employmentStatus"],"title":"AgilityEmployee"},"type_integrations/agility/types:AgilityGetEmployeesResponse":{"type":"object","properties":{"status":{"type":"string"},"employees":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityEmployee"}}},"required":["status","employees"],"title":"AgilityGetEmployeesResponse"},"type_integrations/agility/types:AgilityInvoice":{"type":"object","properties":{"totalPremium":{"type":"number","format":"double"},"totalAmountDue":{"type":"number","format":"double"},"totalAdjustment":{"type":"number","format":"double"},"paidAmount":{"type":"number","format":"double"},"name":{"type":"string"},"isPayable":{"type":"boolean"},"invoiceStatus":{"type":"string"},"id":{"type":"string"},"hasPaymentRecord":{"type":"boolean"},"pdfUrl":{"type":"string"},"dueDate":{"type":"string","format":"date"},"currentBalance":{"type":"number","format":"double"},"billingPeriodStartDate":{"type":"string","format":"date"},"billingPeriodEndDate":{"type":"string","format":"date"}},"required":["totalPremium","totalAmountDue","totalAdjustment","paidAmount","name","invoiceStatus","id","hasPaymentRecord","pdfUrl","dueDate","currentBalance","billingPeriodStartDate","billingPeriodEndDate"],"title":"AgilityInvoice"},"type_integrations/agility/types:AgilityGetInvoicesResponse":{"type":"object","properties":{"status":{"type":"string"},"hasUnpaidInvoice":{"type":"boolean"},"hasMoreThanOneUnpaidInvoice":{"type":"boolean"},"recurringPayment":{"type":"boolean"},"invoices":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityInvoice"}}},"required":["status","invoices"],"title":"AgilityGetInvoicesResponse"},"type_integrations/agility/types:AgilityPolicy":{"type":"object","properties":{"name":{"type":"string"},"policyName":{"type":"string"},"status":{"type":"string"},"id":{"type":"string"},"expirationDate":{"type":"string","format":"date"},"effectiveDate":{"type":"string","format":"date"},"certificateUrl":{"type":"string"},"policyUrl":{"type":"string"}},"required":["name","policyName","status","id","expirationDate","effectiveDate","certificateUrl","policyUrl"],"title":"AgilityPolicy"},"type_integrations/agility/types:AgilityGetPoliciesResponse":{"type":"object","properties":{"status":{"type":"string"},"policies":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/agility/types:AgilityPolicy"}}},"required":["status","policies"],"title":"AgilityGetPoliciesResponse"},"type_integrations/agility/types:AgilityEarningsPeriod":{"type":"string","enum":["Year","Month","Bi-Week","Week","Hour"],"title":"AgilityEarningsPeriod"},"type_integrations/agility/types:AgilityCreateEmployeeResponse":{"type":"object","properties":{"status":{"type":"string"}},"required":["status"],"title":"AgilityCreateEmployeeResponse"},"type_integrations/agility/types:AgilityEditEmployeeResponse":{"type":"object","properties":{"status":{"type":"string"}},"required":["status"],"title":"AgilityEditEmployeeResponse"},"type_integrations/agility/types:AgilityTerminationReason":{"type":"string","enum":["Disabled Member","Employment Terminated","Member Death","Member Retired"],"title":"AgilityTerminationReason"},"type_integrations/amazon/types:AmazonItem":{"type":"object","properties":{"title":{"type":"string"},"brand":{"type":"string"},"price":{"type":"string"},"url":{"type":"string"},"pricePerUnit":{"type":"string"},"rating":{"type":"string"},"reviewCount":{"type":"string"},"imageUrl":{"type":"string"},"merchant":{"type":"string"},"availability":{"type":"string"},"purchaseDate":{"type":"string"}},"required":["title","price","url","imageUrl","availability"],"title":"AmazonItem"},"type_integrations/amazon/types:AmazonGetBuyAgainResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"items":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/amazon/types:AmazonItem"}}},"required":["status","items"],"title":"AmazonGetBuyAgainResponse"},"type_integrations/amazon/types:AmazonOrderItemResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"AmazonOrderItemResponse"},"type_integrations/amazon/types:AmazonAddToCartResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"AmazonAddToCartResponse"},"type_integrations/amazon/types:AmazonSearchItemsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"items":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/amazon/types:AmazonItem"}}},"required":["status","items"],"title":"AmazonSearchItemsResponse"},"type_integrations/amazonBusiness/types:OrdersTimespan":{"type":"string","enum":["30d","3m","1y"],"title":"OrdersTimespan"},"type_integrations/amazonBusiness/types:AmazonBusinessAddress":{"type":"object","properties":{"name":{"type":"string"},"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"country":{"type":"string"}},"title":"AmazonBusinessAddress"},"type_integrations/amazonBusiness/types:AmazonBusinessOrder":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"total":{"type":"string"},"address":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessAddress"},"orderNumber":{"type":"string"},"items":{"type":"array","items":{"type":"string"}}},"required":["date","total","orderNumber","items"],"title":"AmazonBusinessOrder"},"type_integrations/amazonBusiness/types:PageInfo":{"type":"object","properties":{"total":{"type":"integer"},"next":{"type":"integer"}},"required":["total"],"title":"PageInfo"},"type_integrations/amazonBusiness/types:AmazonBusinessGetOrdersResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"orders":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessOrder"}},"pageInfo":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:PageInfo"}},"required":["status","orders","pageInfo"],"title":"AmazonBusinessGetOrdersResponse"},"type_integrations/amazonBusiness/types:AmazonBusinessItem":{"type":"object","properties":{"title":{"type":"string"},"brand":{"type":"string"},"price":{"type":"string"},"url":{"type":"string"},"pricePerUnit":{"type":"string"},"rating":{"type":"string"},"reviewCount":{"type":"string"},"imageUrl":{"type":"string"},"merchant":{"type":"string"},"availability":{"type":"string"},"purchaseDate":{"type":"string"}},"required":["title","price","url","imageUrl","availability"],"title":"AmazonBusinessItem"},"type_integrations/amazonBusiness/types:AmazonBusinessGetBuyAgainResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"items":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessItem"}}},"required":["status","items"],"title":"AmazonBusinessGetBuyAgainResponse"},"type_integrations/amazonBusiness/types:AmazonBusinessOrderItemResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"AmazonBusinessOrderItemResponse"},"type_integrations/amazonBusiness/types:AmazonBusinessSearchItem":{"type":"object","properties":{"title":{"type":"string"},"price":{"type":"string"},"url":{"type":"string"},"imageUrl":{"type":"string"},"pricePerUnit":{"type":"string"},"rating":{"type":"string"},"reviewCount":{"type":"string"},"delivery":{"type":"string"}},"required":["title","price","url","imageUrl"],"title":"AmazonBusinessSearchItem"},"type_integrations/amazonBusiness/types:AmazonBusinessSearchItemsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"items":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessSearchItem"}}},"required":["status","items"],"title":"AmazonBusinessSearchItemsResponse"},"type_integrations/amazonBusiness/types:AmazonBusinessAddToCartResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"AmazonBusinessAddToCartResponse"},"type_integrations/amazonBusiness/types:AmazonBusinessAddressWithId":{"type":"object","properties":{"name":{"type":"string"},"addressLine1":{"type":"string"},"addressLine2":{"type":"string"},"country":{"type":"string"},"phone":{"type":"string"},"id":{"type":"string"}},"required":["id"],"title":"AmazonBusinessAddressWithId"},"type_integrations/amazonBusiness/types:AmazonBusinessGetAddressesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"addresses":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/amazonBusiness/types:AmazonBusinessAddressWithId"}}},"required":["status","addresses"],"title":"AmazonBusinessGetAddressesResponse"},"type_integrations/bookface/types:BookfaceDeal":{"type":"object","properties":{"id":{"type":"integer"},"title":{"type":"string"},"email":{"type":"string"},"details":{"type":"string"},"clicked_count":{"type":"integer"},"used_count":{"type":"integer"},"reported_count":{"type":"integer"},"weighted_rating":{"type":"number","format":"double"},"high_value":{"type":"boolean"},"website_url":{"type":"string"},"company_description":{"type":"string"},"active":{"type":"boolean"},"approved":{"type":"boolean"},"updated_at":{"type":"string","format":"date-time"},"collection":{"type":"array","items":{"type":"string"}},"deal_tags":{"type":"array","items":{"type":"string"}},"company_logo":{"type":"string"},"num_comments":{"type":"integer"},"star_count":{"type":"integer"},"company_id":{"type":"integer"},"recent_activity":{"type":"string"},"company_batches":{"type":"array","items":{"type":"string"}}},"required":["id","title","clicked_count","used_count","reported_count","weighted_rating","high_value","active","approved","updated_at","collection","deal_tags","num_comments","star_count","company_id","company_batches"],"title":"BookfaceDeal"},"type_integrations/bookface/types:SearchDealsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"deals":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/bookface/types:BookfaceDeal"}}},"required":["status","deals"],"title":"SearchDealsResponse"},"type_integrations/bookface/types:MarkDealUsingResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"MarkDealUsingResponse"},"type_integrations/dispatchMe/types:DispatchMeAddress":{"type":"object","properties":{"street1":{"type":"string"},"street2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"},"district":{"type":"string"},"county":{"type":"string"},"country":{"type":"string"},"formattedAddress":{"type":"string"},"timezone":{"type":"string"},"latitude":{"type":"number","format":"double"},"longitude":{"type":"number","format":"double"}},"required":["street1","street2","city","state","postalCode","district","county","country","formattedAddress","timezone","latitude","longitude"],"title":"DispatchMeAddress"},"type_integrations/dispatchMe/types:DispatchMePhoneNumber":{"type":"object","properties":{"primary":{"type":"boolean"},"number":{"type":"string"}},"required":["primary","number"],"title":"DispatchMePhoneNumber"},"type_integrations/dispatchMe/types:DispatchMeCustomer":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"organizationId":{"type":"string"},"companyName":{"type":"string"},"billingAddress":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMeAddress"},"homeAddress":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMeAddress"},"email":{"type":"string"},"notes":{"type":"string"},"phoneNumbers":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/dispatchMe/types:DispatchMePhoneNumber"}},"labels":{"type":"array","items":{"type":"string"}}},"required":["firstName","lastName","organizationId","companyName","billingAddress","homeAddress","email","notes","phoneNumbers","labels"],"title":"DispatchMeCustomer"},"type_integrations/dispatchMe/types:EditCustomerResponse":{"type":"object","properties":{"customer":{"description":"Any type"},"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["customer","status"],"title":"EditCustomerResponse"},"type_integrations/dispatchMe/types:CreateDispatchMeCustomerResponse":{"type":"object","properties":{"customer":{"description":"Any type"},"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["customer","status"],"title":"CreateDispatchMeCustomerResponse"},"type_integrations/dispatchMe/types:GetCustomersResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"customers":{"description":"Any type"}},"required":["status","customers"],"title":"GetCustomersResponse"},"type_integrations/dispatchMe/types:GetAccountOrganizationsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"organizations":{"description":"Any type"}},"required":["status","organizations"],"title":"GetAccountOrganizationsResponse"},"type_integrations/dispatchMe/types:DispatchMeJobStatus":{"type":"string","enum":["offered","scheduled","un-scheduled","paused","in_progress","complete"],"title":"DispatchMeJobStatus"},"type_integrations/dispatchMe/types:GetJobsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"jobs":{"description":"Any type"}},"required":["status","jobs"],"title":"GetJobsResponse"},"type_integrations/dispatchMe/types:GetDispatchMeUsersResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"users":{"description":"Any type"}},"required":["status","users"],"title":"GetDispatchMeUsersResponse"},"type_integrations/dispatchMe/types:DispatchMeAppointment":{"type":"object","properties":{"duration":{"type":"integer"},"time":{"type":"string"},"userId":{"type":"integer"},"secondaryUserIds":{"type":"array","items":{"type":"integer"}},"type":{"type":"string"},"organizationId":{"type":"integer"},"jobId":{"type":"integer"}},"required":["duration","time","userId","secondaryUserIds","type","organizationId","jobId"],"title":"DispatchMeAppointment"},"type_integrations/dispatchMe/types:CreateDispatchMeAppointmentResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateDispatchMeAppointmentResponse"},"type_integrations/dispatchMe/types:DispatchMeNote":{"type":"object","properties":{"jobId":{"type":"integer"},"description":{"type":"string"},"private":{"type":"boolean"},"priority":{"type":"boolean"}},"required":["jobId","description","private","priority"],"title":"DispatchMeNote"},"type_integrations/dispatchMe/types:CreateDispatchMeNoteResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateDispatchMeNoteResponse"},"type_integrations/dispatchMe/types:GetDispatchMeJobsByCustomerResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"jobs":{"description":"Any type"}},"required":["status","jobs"],"title":"GetDispatchMeJobsByCustomerResponse"},"type_integrations/facebook/types:PostGroupMessageResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"PostGroupMessageResponse"},"type_integrations/facebook/types:JoinGroupResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"JoinGroupResponse"},"type_integrations/facebook/types:FacebookGroup":{"type":"object","properties":{"name":{"type":"string"},"numMembers":{"type":"string"},"postsPerDay":{"type":"string"},"privacy":{"type":"string"},"url":{"type":"string"},"id":{"type":"string"}},"required":["name","url","id"],"title":"FacebookGroup"},"type_integrations/facebook/types:SearchGroupsResponse":{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/facebook/types:FacebookGroup"}},"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["groups","status"],"title":"SearchGroupsResponse"},"type_integrations/linkedin/types:InvitationRequest":{"type":"object","properties":{"name":{"type":"string"},"profileUrl":{"type":"string"},"sentTimeLabel":{"type":"string"},"description":{"type":"string"},"sharedConnections":{"type":"string"}},"required":["name","profileUrl","sentTimeLabel","description","sharedConnections"],"title":"InvitationRequest"},"type_integrations/linkedin/types:InvitationRequestsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"invitationRequests":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/linkedin/types:InvitationRequest"}},"total":{"type":"integer"}},"required":["status","invitationRequests","total"],"title":"InvitationRequestsResponse"},"type_integrations/linkedin/types:AcceptInvitationResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"AcceptInvitationResponse"},"type_integrations/linkedin/types:CreatePostResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreatePostResponse"},"type_integrations/linkedin/types:PersonSearchResult":{"type":"object","properties":{"title":{"type":"string"},"premium":{"type":"string"},"primarySubtitle":{"type":"string"},"connectionDegree":{"type":"string"},"summary":{"type":"string"},"secondarySubtitle":{"type":"string"},"navigationUrl":{"type":"string"},"navigationContext":{"type":"string"}},"required":["title","connectionDegree","secondarySubtitle","navigationUrl"],"title":"PersonSearchResult"},"type_integrations/linkedin/types:SearchResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"results":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/linkedin/types:PersonSearchResult"}}},"required":["status","results"],"title":"SearchResponse"},"type_integrations/linkedin/types:LinkedInConnection":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"profileUrl":{"type":"string"},"headline":{"type":"string"},"publicIdentifier":{"type":"string"}},"required":["firstName","lastName","profileUrl","headline","publicIdentifier"],"title":"LinkedInConnection"},"type_integrations/linkedin/types:GetConnectionsResult":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"connections":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/linkedin/types:LinkedInConnection"}},"total":{"type":"integer"}},"required":["status","connections","total"],"title":"GetConnectionsResult"},"type_integrations/linkedin/types:LinkedInSendMessageResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"LinkedInSendMessageResponse"},"type_integrations/linkedin/types:LinkedInMessage":{"type":"object","properties":{"content":{"type":"string"},"sentTime":{"type":"string"},"from":{"type":"string"},"postLink":{"type":"string"}},"required":["content","sentTime","from"],"title":"LinkedInMessage"},"type_integrations/linkedin/types:LinkedInGetMessagesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/linkedin/types:LinkedInMessage"}}},"required":["status","messages"],"title":"LinkedInGetMessagesResponse"},"type_integrations/ppp/types:PhoneType":{"type":"string","enum":["Home","Work","Cell","Fax","Other"],"title":"PhoneType"},"type_integrations/ppp/types:EmailType":{"type":"string","enum":["Work","Home","Other"],"title":"EmailType"},"type_integrations/ppp/types:CommPreferences":{"type":"string","enum":["None","Email","Text","Both"],"title":"CommPreferences"},"type_integrations/ppp/types:Customer":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"companyName":{"type":"string"},"primaryPhoneType":{"$ref":"#/components/schemas/type_integrations/ppp/types:PhoneType"},"primaryPhone":{"type":"string"},"primaryPhoneLabel":{"type":"string"},"primaryEmailType":{"$ref":"#/components/schemas/type_integrations/ppp/types:EmailType"},"primaryEmail":{"type":"string"},"commPreferences":{"$ref":"#/components/schemas/type_integrations/ppp/types:CommPreferences"},"billingTerm":{"type":"string"},"leadSource":{"type":"string"},"customerType":{"type":"string"},"comments":{"type":"string"},"invoiceType":{"type":"string"},"billingLocationName":{"type":"string"},"billingStreet1":{"type":"string"},"billingStreet2":{"type":"string"},"billingCity":{"type":"string"},"billingState":{"type":"string"},"billingZip":{"type":"string"},"billingComments":{"type":"string"},"primaryLocationName":{"type":"string"},"primaryStreet1":{"type":"string"},"primaryStreet2":{"type":"string"},"primaryCity":{"type":"string"},"primaryState":{"type":"string"},"primaryZip":{"type":"string"},"salesTax":{"type":"string"},"primaryComments":{"type":"string"}},"required":["firstName","lastName","companyName","primaryPhoneType","primaryPhone","primaryEmailType","primaryEmail","commPreferences","billingTerm","leadSource","customerType","invoiceType","billingStreet1","billingCity","billingState","billingZip","primaryLocationName","primaryStreet1","primaryCity","primaryState","primaryZip"],"title":"Customer"},"type_integrations/ppp/types:CreateCustomerResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateCustomerResponse"},"type_integrations/ppp/types:SearchCustomerDetailsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"customerDetails":{"description":"Any type"}},"required":["status","customerDetails"],"title":"SearchCustomerDetailsResponse"},"type_integrations/ppp/types:AppointmentType":{"type":"string","enum":["scheduled","open"],"title":"AppointmentType"},"type_integrations/ppp/types:MultiTech":{"type":"object","properties":{"techID":{"type":"string"},"start_time":{"type":"string"},"end_time":{"type":"string"}},"required":["techID","start_time","end_time"],"title":"MultiTech"},"type_integrations/ppp/types:MultiTechOrNot":{"type":"string","enum":["Add_New_Technician",""],"title":"MultiTechOrNot"},"type_integrations/ppp/types:ServiceCallRequest":{"type":"object","properties":{"locationContactInfoID":{"type":"string"},"appointmentType":{"$ref":"#/components/schemas/type_integrations/ppp/types:AppointmentType"},"openServiceCallDate":{"type":"string"},"serviceCallTypeId":{"type":"integer"},"hours":{"type":"string"},"minutes":{"type":"string"},"arrivalWindow":{"type":"string"},"diagnosticFee":{"type":"number","format":"double"},"serviceCallStatus":{"type":"string"},"leadSourceId":{"type":"integer"},"poNumber":{"type":"string"},"description":{"type":"string"},"notes":{"type":"string"},"datepicker1":{"type":"string"},"dispatchBoardId":{"type":"integer"},"callTypeID":{"type":"string"},"startTime":{"type":"string"},"endTime":{"type":"string"},"date":{"type":"string"},"technicianID":{"type":"integer"},"sendEmail":{"type":"integer"},"doNotEmail":{"type":"integer"},"arrivalWindowID":{"type":"integer"},"id":{"type":"string"},"newCustomer":{"type":"integer"},"customerFirstName":{"type":"string"},"customerLastName":{"type":"string"},"customerCompanyName":{"type":"string"},"customerFullName":{"type":"string"},"newServiceCallDefLeadSourID":{"type":"integer"},"appointmentSaveFrom":{"type":"string"},"selectedMultiTechSameCall":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/ppp/types:MultiTech"}},"primaryOpenCallTech":{"type":"string"},"selectedMultiTechSameCallOrNot":{"$ref":"#/components/schemas/type_integrations/ppp/types:MultiTechOrNot"},"isMultipleTech":{"type":"string"},"isPrimaryTechID":{"type":"integer"},"isPrimaryTech":{"type":"string"},"isSecondaryServiceCallData":{"type":"integer"}},"required":["appointmentType","serviceCallTypeId","hours","minutes","arrivalWindow","diagnosticFee","serviceCallStatus","leadSourceId","description","datepicker1","dispatchBoardId","sendEmail","arrivalWindowID","newCustomer","customerFirstName","customerLastName","customerCompanyName","customerFullName","newServiceCallDefLeadSourID","appointmentSaveFrom","isSecondaryServiceCallData"],"title":"ServiceCallRequest"},"type_integrations/ppp/types:CreateAppointmentResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateAppointmentResponse"},"type_integrations/ppp/types:CreateNoteResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateNoteResponse"},"type_integrations/ppp/types:CreateServiceLocationResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateServiceLocationResponse"},"type_integrations/ppp/types:GetBillingTermsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"billingTerms":{"description":"Any type"}},"required":["status","billingTerms"],"title":"GetBillingTermsResponse"},"type_integrations/ppp/types:GetInvoiceTypesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"invoiceTypes":{"description":"Any type"}},"required":["status","invoiceTypes"],"title":"GetInvoiceTypesResponse"},"type_integrations/ppp/types:GetCustomerTypesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"customerTypes":{"description":"Any type"}},"required":["status","customerTypes"],"title":"GetCustomerTypesResponse"},"type_integrations/ppp/types:GetArrivalWindowResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"arrivalWindow":{"description":"Any type"}},"required":["status","arrivalWindow"],"title":"GetArrivalWindowResponse"},"type_integrations/ppp/types:GetServiceCallTypeResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"serviceCallType":{"description":"Any type"}},"required":["status","serviceCallType"],"title":"GetServiceCallTypeResponse"},"type_integrations/ppp/types:GetDiagnosticFeeResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"diagnosticFee":{"description":"Any type"}},"required":["status","diagnosticFee"],"title":"GetDiagnosticFeeResponse"},"type_integrations/ppp/types:GetServiceCallStatusResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"serviceCallStatus":{"description":"Any type"}},"required":["status","serviceCallStatus"],"title":"GetServiceCallStatusResponse"},"type_integrations/ppp/types:GetLeadSourceResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"leadSource":{"description":"Any type"}},"required":["status","leadSource"],"title":"GetLeadSourceResponse"},"type_integrations/ppp/types:GetBoardIdsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"boardIds":{"description":"Any type"}},"required":["status","boardIds"],"title":"GetBoardIdsResponse"},"type_integrations/ppp/types:GetTechniciansResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"technicians":{"description":"Any type"}},"required":["status","technicians"],"title":"GetTechniciansResponse"},"type_integrations/ppp/types:GetCalendarResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"calendar":{"description":"Any type"}},"required":["status","calendar"],"title":"GetCalendarResponse"},"type_integrations/ppp/types:GetJobsByCustomerPPPResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"appointments":{"description":"Any type"}},"required":["status","appointments"],"title":"GetJobsByCustomerPPPResponse"},"type_integrations/servicebox/types:ServiceBoxEquippe":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"string"}},"required":["text","value"],"title":"ServiceBoxEquippe"},"type_integrations/servicebox/types:ReceptionnairesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"receptionnaires":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/servicebox/types:ServiceBoxEquippe"}}},"required":["status","receptionnaires"],"title":"ReceptionnairesResponse"},"type_integrations/servicebox/types:ServiceBoxReceptionnaire":{"type":"object","properties":{"text":{"type":"string"},"value":{"type":"string"}},"required":["text","value"],"title":"ServiceBoxReceptionnaire"},"type_integrations/servicebox/types:EquippesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"equippes":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/servicebox/types:ServiceBoxReceptionnaire"}}},"required":["status","equippes"],"title":"EquippesResponse"},"type_integrations/servicebox/types:BarGraphResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"barGraph":{"description":"Any type"}},"required":["status","barGraph"],"title":"BarGraphResponse"},"type_integrations/servicebox/types:CalendarResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"calendar":{"description":"Any type"}},"required":["status","calendar"],"title":"CalendarResponse"},"type_integrations/toast/types:GetMenusResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"menus":{"description":"Any type"}},"required":["status","menus"],"title":"GetMenusResponse"},"type_integrations/uber/types:UberAddress":{"type":"object","properties":{"addressLine1":{"type":"string"},"addressLine2":{"type":"string"}},"required":["addressLine1","addressLine2"],"title":"UberAddress"},"type_integrations/uber/types:UberCarTypes":{"type":"string","enum":["UberX","UberXL","Comfort","Share","ComfortElectric","Green","UberPet","UberBlack","UberBlackSUV","WAV"],"title":"UberCarTypes"},"type_integrations/uber/types:OrderRideResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"OrderRideResponse"},"type_integrations/venmo/types:Note":{"type":"object","properties":{"content":{"type":"string"}},"required":["content"],"title":"Note"},"type_integrations/venmo/types:Payload":{"type":"object","properties":{"action":{"type":"string"},"subType":{"type":"string"}},"required":["action","subType"],"title":"Payload"},"type_integrations/venmo/types:User":{"type":"object","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"username":{"type":"string"},"type":{"type":"string"}},"required":["id","displayName","username","type"],"title":"User"},"type_integrations/venmo/types:Title":{"type":"object","properties":{"titleType":{"type":"string"},"payload":{"$ref":"#/components/schemas/type_integrations/venmo/types:Payload"},"receiver":{"$ref":"#/components/schemas/type_integrations/venmo/types:User"},"sender":{"$ref":"#/components/schemas/type_integrations/venmo/types:User"}},"required":["titleType","payload","receiver","sender"],"title":"Title"},"type_integrations/venmo/types:Mentions":{"type":"object","properties":{"count":{"type":"integer"},"data":{"description":"Any type"}},"required":["count","data"],"title":"Mentions"},"type_integrations/venmo/types:Likes":{"type":"object","properties":{"count":{"type":"integer"},"userCommentedOrLiked":{"type":"boolean"}},"required":["count","userCommentedOrLiked"],"title":"Likes"},"type_integrations/venmo/types:Comments":{"type":"object","properties":{"count":{"type":"integer"},"userCommentedOrLiked":{"type":"boolean"}},"required":["count","userCommentedOrLiked"],"title":"Comments"},"type_integrations/venmo/types:Story":{"type":"object","properties":{"amount":{"type":"string"},"avatar":{"type":"string"},"initials":{"type":"string"},"audience":{"type":"string"},"date":{"type":"string"},"id":{"type":"string"},"note":{"$ref":"#/components/schemas/type_integrations/venmo/types:Note"},"type":{"type":"string"},"attachments":{"type":"array","items":{"description":"Any type"}},"title":{"$ref":"#/components/schemas/type_integrations/venmo/types:Title"},"mentions":{"$ref":"#/components/schemas/type_integrations/venmo/types:Mentions"},"externWalletStatus":{"type":"string"},"paymentId":{"type":"string"},"likes":{"$ref":"#/components/schemas/type_integrations/venmo/types:Likes"},"comments":{"$ref":"#/components/schemas/type_integrations/venmo/types:Comments"},"subType":{"type":"string"}},"required":["amount","avatar","initials","audience","date","id","note","type","attachments","title","mentions","paymentId","likes","comments","subType"],"title":"Story"},"type_integrations/venmo/types:StoryResponse":{"type":"object","properties":{"nextId":{"type":"string"},"stories":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/venmo/types:Story"}}},"required":["nextId","stories"],"title":"StoryResponse"},"type_integrations/venmo/types:GetTransactionsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"transactions":{"$ref":"#/components/schemas/type_integrations/venmo/types:StoryResponse"}},"required":["status","transactions"],"title":"GetTransactionsResponse"},"type_integrations/vin/types:CreateVinAppointmentResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateVinAppointmentResponse"},"type_integrations/vin/types:VinSalesDealer":{"type":"object","properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"title":"VinSalesDealer"},"type_integrations/vin/types:VinSalesAddress":{"type":"object","properties":{"streetAddress":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"}},"title":"VinSalesAddress"},"type_integrations/vin/types:VinSalesCustomer":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"homePhoneNumber":{"type":"string"},"workPhoneNumber":{"type":"string"},"cellPhoneNumber":{"type":"string"},"address":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesAddress"},"href":{"type":"string"}},"required":["id","firstName"],"title":"VinSalesCustomer"},"type_integrations/vin/types:VinSalesVehicle":{"type":"object","properties":{"id":{"type":"integer"},"vehicleType":{"type":"string"},"make":{"type":"string"},"model":{"type":"string"},"year":{"type":"integer"},"stockNumber":{"description":"Any type"},"inventoryType":{"type":"string"},"href":{"type":"string"},"status":{"type":"string"}},"required":["id","vehicleType","inventoryType","status"],"title":"VinSalesVehicle"},"type_integrations/vin/types:VinSalesLead":{"type":"object","properties":{"id":{"type":"integer"},"autoId":{"type":"integer"},"vehicle":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesVehicle"},"href":{"type":"string"}},"required":["id"],"title":"VinSalesLead"},"type_integrations/vin/types:VinSalesVisit":{"type":"object","properties":{"id":{"type":"integer"},"href":{"type":"string"}},"required":["id","href"],"title":"VinSalesVisit"},"type_integrations/vin/types:VinSalesLocation":{"type":"object","properties":{"type":{"type":"string"},"name":{"type":"string"},"address":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesAddress"}},"required":["type","name","address"],"title":"VinSalesLocation"},"type_integrations/vin/types:VinSalesUser":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"},"href":{"type":"string"}},"required":["id","firstName"],"title":"VinSalesUser"},"type_integrations/vin/types:VinSalesAppointment":{"type":"object","properties":{"id":{"type":"integer"},"dealer":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesDealer"},"customer":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesCustomer"},"lead":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesLead"},"visit":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesVisit"},"location":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesLocation"},"status":{"type":"string"},"purpose":{"type":"string"},"isConfirmed":{"type":"boolean"},"startTimeUtc":{"type":"string"},"endTimeUtc":{"type":"string"},"assignedUser":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesUser"},"lastEditedDateUtc":{"type":"string"},"completedByUser":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesUser"},"href":{"type":"string"},"appointmentType":{"type":"string"}},"required":["id","dealer","customer","lead","location","status","isConfirmed","startTimeUtc","endTimeUtc","assignedUser","lastEditedDateUtc","href","appointmentType"],"title":"VinSalesAppointment"},"type_integrations/vin/types:GetSalesAppointmentsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"href":{"type":"string"},"first":{"type":"string"},"previous":{"type":"string"},"next":{"type":"string"},"limit":{"type":"integer"},"count":{"type":"integer"},"appointments":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesAppointment"}}},"required":["status","href","first","previous","next","limit","count","appointments"],"title":"GetSalesAppointmentsResponse"},"type_integrations/vin/types:VinUser":{"type":"object","properties":{"id":{"type":"integer"},"firstName":{"type":"string"},"lastName":{"type":"string"}},"required":["id","firstName"],"title":"VinUser"},"type_integrations/vin/types:GetUsersResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"users":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinUser"}}},"required":["status","users"],"title":"GetUsersResponse"},"type_integrations/vin/types:VinDealer":{"type":"object","properties":{"DealerID":{"type":"integer"},"dealerName":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"setupStatus":{"type":"string"},"userIsIPRestricted":{"type":"boolean"}},"required":["DealerID","dealerName","city","state","setupStatus","userIsIPRestricted"],"title":"VinDealer"},"type_integrations/vin/types:GetVinDealersResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"dealers":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinDealer"}}},"required":["status","dealers"],"title":"GetVinDealersResponse"},"type_integrations/vin/types:VinSearchCustomer":{"type":"object","properties":{"customerName":{"type":"string"},"nameLine2":{"type":"string"},"dealerName":{"type":"string"},"salesRepName":{"type":"string"},"homePhone":{"type":"string"},"cellPhone":{"type":"string"},"workPhone":{"type":"string"},"email":{"type":"string"},"customerId":{"type":"integer"},"leadId":{"type":"integer"},"dealerId":{"type":"integer"}},"required":["customerName","dealerName","salesRepName","email","customerId","leadId","dealerId"],"title":"VinSearchCustomer"},"type_integrations/vin/types:SearchVinCustomersResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"customers":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSearchCustomer"}}},"required":["status","customers"],"title":"SearchVinCustomersResponse"},"type_integrations/vin/types:VinVehicle":{"type":"object","properties":{"stockNumber":{"type":"string"},"year":{"type":"string"},"make":{"type":"string"},"model":{"type":"string"},"trim":{"type":"string"},"vin":{"type":"string"},"mileage":{"type":"string"},"age":{"type":"string"},"webPrice":{"type":"string"}},"required":["stockNumber","year","make","model","vin","mileage","age","webPrice"],"title":"VinVehicle"},"type_integrations/vin/types:GetVinVehiclesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"vehicles":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinVehicle"}}},"required":["status","vehicles"],"title":"GetVinVehiclesResponse"},"type_integrations/vin/types:VinLeadSource":{"type":"object","properties":{"sourceName":{"type":"string"},"sourceId":{"type":"string"}},"required":["sourceName","sourceId"],"title":"VinLeadSource"},"type_integrations/vin/types:GetVinLeadSourceResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"leadSource":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinLeadSource"}}},"required":["status","leadSource"],"title":"GetVinLeadSourceResponse"},"type_integrations/vin/types:VinLeadType":{"type":"object","properties":{"leadTypeName":{"type":"string"},"leadTypeId":{"type":"string"}},"required":["leadTypeName","leadTypeId"],"title":"VinLeadType"},"type_integrations/vin/types:GetVinLeadTypeResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"leadType":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinLeadType"}}},"required":["status","leadType"],"title":"GetVinLeadTypeResponse"},"type_integrations/vin/types:VinCompanyType":{"type":"object","properties":{"companyTypeName":{"type":"string"},"companyTypeId":{"type":"string"}},"required":["companyTypeName","companyTypeId"],"title":"VinCompanyType"},"type_integrations/vin/types:GetVinCompanyTypeResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"companyTypes":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/vin/types:VinCompanyType"}}},"required":["status","companyTypes"],"title":"GetVinCompanyTypeResponse"},"type_integrations/vin/types:VinCompany":{"type":"object","properties":{"companyName":{"type":"string"},"companyType":{"type":"string"}},"required":["companyName","companyType"],"title":"VinCompany"},"type_integrations/vin/types:VinCustomer":{"type":"object","properties":{"homePhone":{"type":"string"},"workPhone":{"type":"string"},"cellPhone":{"type":"string"},"firstName":{"type":"string"},"middleName":{"type":"string"},"lastName":{"type":"string"},"email":{"type":"string"},"vehicleNumber":{"type":"string"},"company":{"$ref":"#/components/schemas/type_integrations/vin/types:VinCompany"}},"required":["homePhone","firstName","lastName","email","vehicleNumber"],"title":"VinCustomer"},"type_integrations/vin/types:CreateVinCustomerResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateVinCustomerResponse"},"type_integrations/vin/types:CreateVinLeadResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"leadId":{"type":"string"}},"required":["status","leadId"],"title":"CreateVinLeadResponse"},"type_integrations/vin/types:GetSalesAppointmentResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"appointment":{"$ref":"#/components/schemas/type_integrations/vin/types:VinSalesAppointment"}},"required":["status","appointment"],"title":"GetSalesAppointmentResponse"},"type_integrations/vin/types:VinCustomerContactedCodes":{"type":"string","enum":["Y","N","M"],"title":"VinCustomerContactedCodes"},"type_integrations/vin/types:VinNumberDialedCodes":{"type":"string","enum":["Home","Cell","Work"],"title":"VinNumberDialedCodes"},"type_integrations/vin/types:VinNextCallTimeSpanTypes":{"type":"string","enum":["Days","Hours","Months"],"title":"VinNextCallTimeSpanTypes"},"type_integrations/vin/types:CreateVinCallResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"CreateVinCallResponse"},"type_integrations/whatsapp/types:WhatsAppGroup":{"type":"object","properties":{"id":{"type":"string"},"owner":{"type":"string"},"size":{"type":"integer","description":"Number of participants in the group"},"memberAddMode":{"type":"boolean","description":"Group allows members to add participants"},"joinApprovalMode":{"type":"boolean","description":"Group requires approval to join"},"isCommunity":{"type":"boolean","description":"Group is a community"},"inviteCode":{"type":"string"},"subject":{"type":"string"},"linkedParent":{"type":"string","description":"If the group is part of a community this is the ID of the community"}},"required":["id","subject"],"title":"WhatsAppGroup"},"type_integrations/whatsapp/types:GetGroupByInviteCodeResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"group":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:WhatsAppGroup"}},"required":["status","group"],"title":"GetGroupByInviteCodeResponse"},"type_integrations/whatsapp/types:SendMessageResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"SendMessageResponse"},"type_integrations/whatsapp/types:GetGroupResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"group":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:WhatsAppGroup"}},"required":["status","group"],"title":"GetGroupResponse"},"type_integrations/whatsapp/types:WhatsAppMessageTypes":{"type":"string","enum":["text","image","video"],"title":"WhatsAppMessageTypes"},"type_integrations/whatsapp/types:WhatsAppMessage":{"type":"object","properties":{"type":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:WhatsAppMessageTypes"},"content":{"type":"string"},"timestamp":{"type":"string"},"senderId":{"type":"string"},"senderName":{"type":"string"},"groupId":{"type":"string"},"fromMe":{"type":"boolean"}},"required":["type","content","timestamp","senderId"],"title":"WhatsAppMessage"},"type_integrations/whatsapp/types:GetGroupMessagesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:WhatsAppMessage"}}},"required":["status","messages"],"title":"GetGroupMessagesResponse"},"type_integrations/whatsapp/types:GetUsersMessagesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:WhatsAppMessage"}}},"required":["status","messages"],"title":"GetUsersMessagesResponse"},"type_integrations/whatsapp/types:GetWhatsAppMessageResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"message":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:WhatsAppMessage"}},"required":["status","message"],"title":"GetWhatsAppMessageResponse"},"type_integrations/whatsapp/types:ChangeStatusResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"ChangeStatusResponse"},"type_integrations/whatsapp/types:GetMessagesResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/whatsapp/types:WhatsAppMessage"}},"nextOffset":{"type":"integer"}},"required":["status","messages"],"title":"GetMessagesResponse"},"type_integrations/x/types:XProfile":{"type":"object","properties":{"id":{"type":"string"},"restId":{"type":"string"},"name":{"type":"string"},"profileUrl":{"type":"string"},"numFollowers":{"type":"integer"},"numFollowing":{"type":"integer"},"verified":{"type":"boolean"},"userIsFollowing":{"type":"boolean"}},"required":["id","restId","name","profileUrl","numFollowers","numFollowing","verified","userIsFollowing"],"title":"XProfile"},"type_integrations/x/types:GetXFollowersResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"profiles":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/x/types:XProfile"}}},"required":["status","profiles"],"title":"GetXFollowersResponse"},"type_integrations/x/types:XPost":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"title":"XPost"},"type_integrations/x/types:GetXFollowingTweetsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"posts":{"type":"array","items":{"$ref":"#/components/schemas/type_integrations/x/types:XPost"}}},"required":["status","posts"],"title":"GetXFollowingTweetsResponse"},"type_common/types:OfferedIntegrations":{"type":"string","enum":["Venmo","LinkedIn","Amazon Business","Amazon","Uber","Instagram","X","Facebook","Amazon Seller","WhatsApp","Jane","PPP","ServiceBox","DispatchMe","Toast","Vin","Aesthetic Records","Eddy","Agility","Bookface"],"title":"OfferedIntegrations"},"type_common/types:LinkConfig":{"type":"object","properties":{"endUserId":{"type":"string"},"integration":{"$ref":"#/components/schemas/type_common/types:OfferedIntegrations"},"companyName":{"type":"string"},"companyLogoUri":{"type":"string"}},"required":["endUserId","integration"],"title":"LinkConfig"},"type_link:CreateLinkResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"linkToken":{"type":"string"}},"required":["status","linkToken"],"title":"CreateLinkResponse"},"type_common/types:Integration":{"type":"object","properties":{"integration":{"type":"string"},"isAlive":{"type":"boolean"}},"required":["integration","isAlive"],"title":"Integration"},"type_common/types:LinkedAccount":{"type":"object","properties":{"id":{"type":"string"},"endUserId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"integrations":{"type":"array","items":{"$ref":"#/components/schemas/type_common/types:Integration"}}},"required":["id","endUserId","createdAt","integrations"],"title":"LinkedAccount"},"type_linked-accounts:GetLinkedAccountsResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"linkedAccounts":{"type":"array","items":{"$ref":"#/components/schemas/type_common/types:LinkedAccount"}}},"required":["status","linkedAccounts"],"title":"GetLinkedAccountsResponse"},"type_linked-accounts:GetLinkedAccountResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"linkedAccount":{"$ref":"#/components/schemas/type_common/types:LinkedAccount"}},"required":["status","linkedAccount"],"title":"GetLinkedAccountResponse"},"type_linked-accounts:DeleteLinkedAccountResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"}},"required":["status"],"title":"DeleteLinkedAccountResponse"},"type_linked-accounts:GetTokenResponse":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/type_common/types:ResponseStatus"},"accountToken":{"type":"string"}},"required":["status","accountToken"],"title":"GetTokenResponse"}},"securitySchemes":{"default":{"type":"http","scheme":"bearer"}}}}