@smartytalent/api-client 0.4.6 → 0.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/TenantsApi.d.ts +2 -2
- package/dist/apis/TenantsApi.js +2 -2
- package/dist/models/AssignTenantPhoneNumberRequestDataAttributes.d.ts +1 -0
- package/dist/models/AssignTenantPhoneNumberRequestDataAttributes.d.ts.map +1 -1
- package/dist/models/AssignTenantPhoneNumberRequestDataAttributes.js +1 -0
- package/dist/models/AssignTenantPhoneNumberRequestDataAttributes.js.map +1 -1
- package/package.json +1 -1
|
@@ -90,12 +90,12 @@ export declare class TenantsApi extends runtime.BaseAPI {
|
|
|
90
90
|
*/
|
|
91
91
|
assignTenantPhoneNumberRequestOpts(requestParameters: AssignTenantPhoneNumberOperationRequest): Promise<runtime.RequestOpts>;
|
|
92
92
|
/**
|
|
93
|
-
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `external`: a number hosted at
|
|
93
|
+
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `telnyx`: the number must already exist on the platform Telnyx account - it is verified there, attached to this environment\'s TeXML application, claimed and stamped. provider `external`: a number hosted at an unintegrated provider - stored, claimed and stamped only; inbound stays inactive. Fails with 400 when the number is unknown to the provider, already claimed by another tenant, or the tenant already has a number.
|
|
94
94
|
* Assign Existing Phone Number
|
|
95
95
|
*/
|
|
96
96
|
assignTenantPhoneNumberRaw(requestParameters: AssignTenantPhoneNumberOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
97
97
|
/**
|
|
98
|
-
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `external`: a number hosted at
|
|
98
|
+
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `telnyx`: the number must already exist on the platform Telnyx account - it is verified there, attached to this environment\'s TeXML application, claimed and stamped. provider `external`: a number hosted at an unintegrated provider - stored, claimed and stamped only; inbound stays inactive. Fails with 400 when the number is unknown to the provider, already claimed by another tenant, or the tenant already has a number.
|
|
99
99
|
* Assign Existing Phone Number
|
|
100
100
|
*/
|
|
101
101
|
assignTenantPhoneNumber(requestParameters: AssignTenantPhoneNumberOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
package/dist/apis/TenantsApi.js
CHANGED
|
@@ -84,7 +84,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
84
84
|
};
|
|
85
85
|
}
|
|
86
86
|
/**
|
|
87
|
-
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `external`: a number hosted at
|
|
87
|
+
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `telnyx`: the number must already exist on the platform Telnyx account - it is verified there, attached to this environment\'s TeXML application, claimed and stamped. provider `external`: a number hosted at an unintegrated provider - stored, claimed and stamped only; inbound stays inactive. Fails with 400 when the number is unknown to the provider, already claimed by another tenant, or the tenant already has a number.
|
|
88
88
|
* Assign Existing Phone Number
|
|
89
89
|
*/
|
|
90
90
|
async assignTenantPhoneNumberRaw(requestParameters, initOverrides) {
|
|
@@ -93,7 +93,7 @@ class TenantsApi extends runtime.BaseAPI {
|
|
|
93
93
|
return new runtime.JSONApiResponse(response);
|
|
94
94
|
}
|
|
95
95
|
/**
|
|
96
|
-
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `external`: a number hosted at
|
|
96
|
+
* Attach an EXISTING phone number to the tenant without purchasing. Owner/sysowner only. provider `twilio` (default): the number must already exist on the platform Twilio account - it is verified there, voice/SMS webhooks are configured, the registry claim is taken and the virtual employee\'s user row is stamped. provider `telnyx`: the number must already exist on the platform Telnyx account - it is verified there, attached to this environment\'s TeXML application, claimed and stamped. provider `external`: a number hosted at an unintegrated provider - stored, claimed and stamped only; inbound stays inactive. Fails with 400 when the number is unknown to the provider, already claimed by another tenant, or the tenant already has a number.
|
|
97
97
|
* Assign Existing Phone Number
|
|
98
98
|
*/
|
|
99
99
|
async assignTenantPhoneNumber(requestParameters, initOverrides) {
|
|
@@ -33,6 +33,7 @@ export interface AssignTenantPhoneNumberRequestDataAttributes {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare const AssignTenantPhoneNumberRequestDataAttributesProviderEnum: {
|
|
35
35
|
readonly Twilio: "twilio";
|
|
36
|
+
readonly Telnyx: "telnyx";
|
|
36
37
|
readonly External: "external";
|
|
37
38
|
};
|
|
38
39
|
export type AssignTenantPhoneNumberRequestDataAttributesProviderEnum = typeof AssignTenantPhoneNumberRequestDataAttributesProviderEnum[keyof typeof AssignTenantPhoneNumberRequestDataAttributesProviderEnum];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssignTenantPhoneNumberRequestDataAttributes.d.ts","sourceRoot":"","sources":["../../src/models/AssignTenantPhoneNumberRequestDataAttributes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4CAA4C;IACzD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,wDAAwD,CAAC;CACvE;AAGD;;GAEG;AACH,eAAO,MAAM,wDAAwD
|
|
1
|
+
{"version":3,"file":"AssignTenantPhoneNumberRequestDataAttributes.d.ts","sourceRoot":"","sources":["../../src/models/AssignTenantPhoneNumberRequestDataAttributes.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH;;;;GAIG;AACH,MAAM,WAAW,4CAA4C;IACzD;;;;OAIG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,wDAAwD,CAAC;CACvE;AAGD;;GAEG;AACH,eAAO,MAAM,wDAAwD;;;;CAI3D,CAAC;AACX,MAAM,MAAM,wDAAwD,GAAG,OAAO,wDAAwD,CAAC,MAAM,OAAO,wDAAwD,CAAC,CAAC;AAG9M;;GAEG;AACH,wBAAgB,sDAAsD,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,4CAA4C,CAG3I;AAED,wBAAgB,oDAAoD,CAAC,IAAI,EAAE,GAAG,GAAG,4CAA4C,CAE5H;AAED,wBAAgB,yDAAyD,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,4CAA4C,CAS/J;AAED,wBAAgB,kDAAkD,CAAC,IAAI,EAAE,GAAG,GAAG,4CAA4C,CAE1H;AAED,wBAAgB,uDAAuD,CAAC,KAAK,CAAC,EAAE,4CAA4C,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAU9K"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssignTenantPhoneNumberRequestDataAttributes.js","sourceRoot":"","sources":["../../src/models/AssignTenantPhoneNumberRequestDataAttributes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;
|
|
1
|
+
{"version":3,"file":"AssignTenantPhoneNumberRequestDataAttributes.js","sourceRoot":"","sources":["../../src/models/AssignTenantPhoneNumberRequestDataAttributes.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAsCH,wHAGC;AAED,oHAEC;AAED,8HASC;AAED,gHAEC;AAED,0HAUC;AAhDD;;GAEG;AACU,QAAA,wDAAwD,GAAG;IACpE,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAAU;CACd,CAAC;AAIX;;GAEG;AACH,SAAgB,sDAAsD,CAAC,KAAa;IAChF,IAAI,CAAC,CAAC,aAAa,IAAI,KAAK,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IAClF,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,SAAgB,oDAAoD,CAAC,IAAS;IAC1E,OAAO,yDAAyD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAClF,CAAC;AAED,SAAgB,yDAAyD,CAAC,IAAS,EAAE,mBAA4B;IAC7G,IAAI,IAAI,IAAI,IAAI,EAAE,CAAC;QACf,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,OAAO;QAEH,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC;QAClC,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC;KACtE,CAAC;AACN,CAAC;AAED,SAAgB,kDAAkD,CAAC,IAAS;IACxE,OAAO,uDAAuD,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;AAChF,CAAC;AAED,SAAgB,uDAAuD,CAAC,KAA2D,EAAE,sBAA+B,KAAK;IACrK,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;QAChB,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,OAAO;QAEH,aAAa,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,UAAU,EAAE,KAAK,CAAC,UAAU,CAAC;KAChC,CAAC;AACN,CAAC"}
|