telnyx 7.24.0 → 7.25.0
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/CHANGELOG.md +7 -0
- package/client.d.mts +19 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +19 -4
- package/client.d.ts.map +1 -1
- package/client.js +15 -0
- package/client.js.map +1 -1
- package/client.mjs +15 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/ai/ai.d.mts +7 -6
- package/resources/ai/ai.d.mts.map +1 -1
- package/resources/ai/ai.d.ts +7 -6
- package/resources/ai/ai.d.ts.map +1 -1
- package/resources/ai/ai.js.map +1 -1
- package/resources/ai/ai.mjs.map +1 -1
- package/resources/ai/assistants/assistants.d.mts +320 -28
- package/resources/ai/assistants/assistants.d.mts.map +1 -1
- package/resources/ai/assistants/assistants.d.ts +320 -28
- package/resources/ai/assistants/assistants.d.ts.map +1 -1
- package/resources/ai/assistants/assistants.js +79 -2
- package/resources/ai/assistants/assistants.js.map +1 -1
- package/resources/ai/assistants/assistants.mjs +79 -2
- package/resources/ai/assistants/assistants.mjs.map +1 -1
- package/resources/ai/assistants/deleted.d.mts +60 -0
- package/resources/ai/assistants/deleted.d.mts.map +1 -0
- package/resources/ai/assistants/deleted.d.ts +60 -0
- package/resources/ai/assistants/deleted.d.ts.map +1 -0
- package/resources/ai/assistants/deleted.js +49 -0
- package/resources/ai/assistants/deleted.js.map +1 -0
- package/resources/ai/assistants/deleted.mjs +45 -0
- package/resources/ai/assistants/deleted.mjs.map +1 -0
- package/resources/ai/assistants/index.d.mts +2 -1
- package/resources/ai/assistants/index.d.mts.map +1 -1
- package/resources/ai/assistants/index.d.ts +2 -1
- package/resources/ai/assistants/index.d.ts.map +1 -1
- package/resources/ai/assistants/index.js +3 -1
- package/resources/ai/assistants/index.js.map +1 -1
- package/resources/ai/assistants/index.mjs +1 -0
- package/resources/ai/assistants/index.mjs.map +1 -1
- package/resources/ai/assistants/versions.d.mts +36 -0
- package/resources/ai/assistants/versions.d.mts.map +1 -1
- package/resources/ai/assistants/versions.d.ts +36 -0
- package/resources/ai/assistants/versions.d.ts.map +1 -1
- package/resources/ai/chat.d.mts +7 -2
- package/resources/ai/chat.d.mts.map +1 -1
- package/resources/ai/chat.d.ts +7 -2
- package/resources/ai/chat.d.ts.map +1 -1
- package/resources/ai/embeddings/embeddings.d.mts +1 -1
- package/resources/ai/embeddings/embeddings.d.ts +1 -1
- package/resources/ai/embeddings/embeddings.js +1 -1
- package/resources/ai/embeddings/embeddings.mjs +1 -1
- package/resources/ai/index.d.mts +2 -2
- package/resources/ai/index.d.mts.map +1 -1
- package/resources/ai/index.d.ts +2 -2
- package/resources/ai/index.d.ts.map +1 -1
- package/resources/ai/index.js.map +1 -1
- package/resources/ai/index.mjs.map +1 -1
- package/resources/ai/memory/index.d.mts +1 -1
- package/resources/ai/memory/index.d.mts.map +1 -1
- package/resources/ai/memory/index.d.ts +1 -1
- package/resources/ai/memory/index.d.ts.map +1 -1
- package/resources/ai/memory/index.js.map +1 -1
- package/resources/ai/memory/index.mjs +1 -1
- package/resources/ai/memory/index.mjs.map +1 -1
- package/resources/ai/memory/memory.d.mts +2 -2
- package/resources/ai/memory/memory.d.mts.map +1 -1
- package/resources/ai/memory/memory.d.ts +2 -2
- package/resources/ai/memory/memory.d.ts.map +1 -1
- package/resources/ai/memory/memory.js.map +1 -1
- package/resources/ai/memory/memory.mjs +1 -1
- package/resources/ai/memory/memory.mjs.map +1 -1
- package/resources/ai/memory/namespaces/index.d.mts +1 -1
- package/resources/ai/memory/namespaces/index.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/index.d.ts +1 -1
- package/resources/ai/memory/namespaces/index.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/index.js.map +1 -1
- package/resources/ai/memory/namespaces/index.mjs +1 -1
- package/resources/ai/memory/namespaces/index.mjs.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.mts +60 -4
- package/resources/ai/memory/namespaces/namespaces.d.mts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.d.ts +60 -4
- package/resources/ai/memory/namespaces/namespaces.d.ts.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.js +41 -3
- package/resources/ai/memory/namespaces/namespaces.js.map +1 -1
- package/resources/ai/memory/namespaces/namespaces.mjs +41 -3
- package/resources/ai/memory/namespaces/namespaces.mjs.map +1 -1
- package/resources/ai/openai/chat.d.mts +7 -2
- package/resources/ai/openai/chat.d.mts.map +1 -1
- package/resources/ai/openai/chat.d.ts +7 -2
- package/resources/ai/openai/chat.d.ts.map +1 -1
- package/resources/ai/tools.d.mts +3 -4
- package/resources/ai/tools.d.mts.map +1 -1
- package/resources/ai/tools.d.ts +3 -4
- package/resources/ai/tools.d.ts.map +1 -1
- package/resources/ai/tools.js +5 -2
- package/resources/ai/tools.js.map +1 -1
- package/resources/ai/tools.mjs +5 -2
- package/resources/ai/tools.mjs.map +1 -1
- package/resources/calls/actions.d.mts +76 -17
- package/resources/calls/actions.d.mts.map +1 -1
- package/resources/calls/actions.d.ts +76 -17
- package/resources/calls/actions.d.ts.map +1 -1
- package/resources/calls/actions.js +31 -0
- package/resources/calls/actions.js.map +1 -1
- package/resources/calls/actions.mjs +31 -0
- package/resources/calls/actions.mjs.map +1 -1
- package/resources/calls/calls.d.mts +48 -11
- package/resources/calls/calls.d.mts.map +1 -1
- package/resources/calls/calls.d.ts +48 -11
- package/resources/calls/calls.d.ts.map +1 -1
- package/resources/calls/calls.js +3 -0
- package/resources/calls/calls.js.map +1 -1
- package/resources/calls/calls.mjs +3 -0
- package/resources/calls/calls.mjs.map +1 -1
- package/resources/dir/dir.d.mts +220 -28
- package/resources/dir/dir.d.mts.map +1 -1
- package/resources/dir/dir.d.ts +220 -28
- package/resources/dir/dir.d.ts.map +1 -1
- package/resources/dir/dir.js +77 -13
- package/resources/dir/dir.js.map +1 -1
- package/resources/dir/dir.mjs +77 -13
- package/resources/dir/dir.mjs.map +1 -1
- package/resources/dir/index.d.mts +1 -1
- package/resources/dir/index.d.mts.map +1 -1
- package/resources/dir/index.d.ts +1 -1
- package/resources/dir/index.d.ts.map +1 -1
- package/resources/dir/index.js.map +1 -1
- package/resources/dir/index.mjs.map +1 -1
- package/resources/dir/phone-numbers.d.mts +8 -4
- package/resources/dir/phone-numbers.d.mts.map +1 -1
- package/resources/dir/phone-numbers.d.ts +8 -4
- package/resources/dir/phone-numbers.d.ts.map +1 -1
- package/resources/dir/phone-numbers.js +4 -4
- package/resources/dir/phone-numbers.mjs +4 -4
- package/resources/dir/references.d.mts +9 -6
- package/resources/dir/references.d.mts.map +1 -1
- package/resources/dir/references.d.ts +9 -6
- package/resources/dir/references.d.ts.map +1 -1
- package/resources/enterprises/dir.d.mts +17 -1
- package/resources/enterprises/dir.d.mts.map +1 -1
- package/resources/enterprises/dir.d.ts +17 -1
- package/resources/enterprises/dir.d.ts.map +1 -1
- package/resources/enterprises/enterprises.d.mts +237 -23
- package/resources/enterprises/enterprises.d.mts.map +1 -1
- package/resources/enterprises/enterprises.d.ts +237 -23
- package/resources/enterprises/enterprises.d.ts.map +1 -1
- package/resources/enterprises/enterprises.js +26 -4
- package/resources/enterprises/enterprises.js.map +1 -1
- package/resources/enterprises/enterprises.mjs +26 -4
- package/resources/enterprises/enterprises.mjs.map +1 -1
- package/resources/enterprises/index.d.mts +1 -0
- package/resources/enterprises/index.d.mts.map +1 -1
- package/resources/enterprises/index.d.ts +1 -0
- package/resources/enterprises/index.d.ts.map +1 -1
- package/resources/enterprises/index.js +3 -1
- package/resources/enterprises/index.js.map +1 -1
- package/resources/enterprises/index.mjs +1 -0
- package/resources/enterprises/index.mjs.map +1 -1
- package/resources/enterprises/reputation/loa.d.mts +61 -1
- package/resources/enterprises/reputation/loa.d.mts.map +1 -1
- package/resources/enterprises/reputation/loa.d.ts +61 -1
- package/resources/enterprises/reputation/loa.d.ts.map +1 -1
- package/resources/enterprises/verify-email.d.mts +91 -0
- package/resources/enterprises/verify-email.d.mts.map +1 -0
- package/resources/enterprises/verify-email.d.ts +91 -0
- package/resources/enterprises/verify-email.d.ts.map +1 -0
- package/resources/enterprises/verify-email.js +55 -0
- package/resources/enterprises/verify-email.js.map +1 -0
- package/resources/enterprises/verify-email.mjs +51 -0
- package/resources/enterprises/verify-email.mjs.map +1 -0
- package/resources/index.d.mts +4 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +4 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/infringement-claims.d.mts +4 -0
- package/resources/infringement-claims.d.mts.map +1 -1
- package/resources/infringement-claims.d.ts +4 -0
- package/resources/infringement-claims.d.ts.map +1 -1
- package/resources/llm-token-gateway/index.d.mts +3 -0
- package/resources/llm-token-gateway/index.d.mts.map +1 -0
- package/resources/llm-token-gateway/index.d.ts +3 -0
- package/resources/llm-token-gateway/index.d.ts.map +1 -0
- package/resources/llm-token-gateway/index.js +9 -0
- package/resources/llm-token-gateway/index.js.map +1 -0
- package/resources/llm-token-gateway/index.mjs +4 -0
- package/resources/llm-token-gateway/index.mjs.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.mts +10 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.mts.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.ts +10 -0
- package/resources/llm-token-gateway/llm-token-gateway.d.ts.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.js +17 -0
- package/resources/llm-token-gateway/llm-token-gateway.js.map +1 -0
- package/resources/llm-token-gateway/llm-token-gateway.mjs +12 -0
- package/resources/llm-token-gateway/llm-token-gateway.mjs.map +1 -0
- package/resources/llm-token-gateway/usage.d.mts +260 -0
- package/resources/llm-token-gateway/usage.d.mts.map +1 -0
- package/resources/llm-token-gateway/usage.d.ts +260 -0
- package/resources/llm-token-gateway/usage.d.ts.map +1 -0
- package/resources/llm-token-gateway/usage.js +31 -0
- package/resources/llm-token-gateway/usage.js.map +1 -0
- package/resources/llm-token-gateway/usage.mjs +27 -0
- package/resources/llm-token-gateway/usage.mjs.map +1 -0
- package/resources/llm-token-gateway.d.mts +2 -0
- package/resources/llm-token-gateway.d.mts.map +1 -0
- package/resources/llm-token-gateway.d.ts +2 -0
- package/resources/llm-token-gateway.d.ts.map +1 -0
- package/resources/llm-token-gateway.js +6 -0
- package/resources/llm-token-gateway.js.map +1 -0
- package/resources/llm-token-gateway.mjs +3 -0
- package/resources/llm-token-gateway.mjs.map +1 -0
- package/resources/meeting-sessions/meeting-sessions.d.mts +8 -9
- package/resources/meeting-sessions/meeting-sessions.d.mts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.d.ts +8 -9
- package/resources/meeting-sessions/meeting-sessions.d.ts.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.js +6 -6
- package/resources/meeting-sessions/meeting-sessions.js.map +1 -1
- package/resources/meeting-sessions/meeting-sessions.mjs +6 -6
- package/resources/meeting-sessions/meeting-sessions.mjs.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.mts.map +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts +1 -1
- package/resources/porting-orders/phone-number-blocks.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.d.mts +1 -1
- package/resources/porting-orders/porting-orders.d.mts.map +1 -1
- package/resources/porting-orders/porting-orders.d.ts +1 -1
- package/resources/porting-orders/porting-orders.d.ts.map +1 -1
- package/resources/porting-orders/porting-orders.js.map +1 -1
- package/resources/porting-orders/porting-orders.mjs.map +1 -1
- package/resources/porting-phone-numbers.d.mts +1 -1
- package/resources/porting-phone-numbers.d.mts.map +1 -1
- package/resources/porting-phone-numbers.d.ts +1 -1
- package/resources/porting-phone-numbers.d.ts.map +1 -1
- package/resources/requirements.d.mts +2 -2
- package/resources/requirements.d.mts.map +1 -1
- package/resources/requirements.d.ts +2 -2
- package/resources/requirements.d.ts.map +1 -1
- package/resources/spend-limits.d.mts +335 -0
- package/resources/spend-limits.d.mts.map +1 -0
- package/resources/spend-limits.d.ts +335 -0
- package/resources/spend-limits.d.ts.map +1 -0
- package/resources/spend-limits.js +91 -0
- package/resources/spend-limits.js.map +1 -0
- package/resources/spend-limits.mjs +87 -0
- package/resources/spend-limits.mjs.map +1 -0
- package/resources/terms-of-service/agreements.d.mts +12 -0
- package/resources/terms-of-service/agreements.d.mts.map +1 -1
- package/resources/terms-of-service/agreements.d.ts +12 -0
- package/resources/terms-of-service/agreements.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.mts +15 -0
- package/resources/terms-of-service/terms-of-service.d.mts.map +1 -1
- package/resources/terms-of-service/terms-of-service.d.ts +15 -0
- package/resources/terms-of-service/terms-of-service.d.ts.map +1 -1
- package/resources/terms-of-service/terms-of-service.js.map +1 -1
- package/resources/terms-of-service/terms-of-service.mjs.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.mts +4 -2
- package/resources/text-to-speech/text-to-speech.d.mts.map +1 -1
- package/resources/text-to-speech/text-to-speech.d.ts +4 -2
- package/resources/text-to-speech/text-to-speech.d.ts.map +1 -1
- package/resources/webhooks.d.mts +403 -5
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +403 -5
- package/resources/webhooks.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts +89 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.mts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts +89 -0
- package/resources/whatsapp/phone-numbers/calling-routing.d.ts.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.js +65 -0
- package/resources/whatsapp/phone-numbers/calling-routing.js.map +1 -0
- package/resources/whatsapp/phone-numbers/calling-routing.mjs +61 -0
- package/resources/whatsapp/phone-numbers/calling-routing.mjs.map +1 -0
- package/resources/whatsapp/phone-numbers/index.d.mts +1 -0
- package/resources/whatsapp/phone-numbers/index.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.d.ts +1 -0
- package/resources/whatsapp/phone-numbers/index.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/index.js +3 -1
- package/resources/whatsapp/phone-numbers/index.js.map +1 -1
- package/resources/whatsapp/phone-numbers/index.mjs +1 -0
- package/resources/whatsapp/phone-numbers/index.mjs.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.mts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.d.ts.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.js +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.js.map +1 -1
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs +4 -0
- package/resources/whatsapp/phone-numbers/phone-numbers.mjs.map +1 -1
- package/src/client.ts +55 -0
- package/src/resources/ai/ai.ts +13 -4
- package/src/resources/ai/assistants/assistants.ts +384 -28
- package/src/resources/ai/assistants/deleted.ts +86 -0
- package/src/resources/ai/assistants/index.ts +11 -0
- package/src/resources/ai/assistants/versions.ts +40 -0
- package/src/resources/ai/chat.ts +7 -2
- package/src/resources/ai/embeddings/embeddings.ts +1 -1
- package/src/resources/ai/index.ts +5 -1
- package/src/resources/ai/memory/index.ts +9 -1
- package/src/resources/ai/memory/memory.ts +13 -1
- package/src/resources/ai/memory/namespaces/index.ts +9 -1
- package/src/resources/ai/memory/namespaces/namespaces.ts +81 -3
- package/src/resources/ai/openai/chat.ts +7 -2
- package/src/resources/ai/tools.ts +6 -6
- package/src/resources/calls/actions.ts +76 -15
- package/src/resources/calls/calls.ts +49 -9
- package/src/resources/dir/dir.ts +263 -32
- package/src/resources/dir/index.ts +6 -0
- package/src/resources/dir/phone-numbers.ts +8 -4
- package/src/resources/dir/references.ts +9 -6
- package/src/resources/enterprises/dir.ts +19 -1
- package/src/resources/enterprises/enterprises.ts +250 -23
- package/src/resources/enterprises/index.ts +5 -0
- package/src/resources/enterprises/reputation/loa.ts +73 -1
- package/src/resources/enterprises/verify-email.ts +117 -0
- package/src/resources/index.ts +20 -0
- package/src/resources/infringement-claims.ts +4 -0
- package/src/resources/llm-token-gateway/index.ts +4 -0
- package/src/resources/llm-token-gateway/llm-token-gateway.ts +19 -0
- package/src/resources/llm-token-gateway/usage.ts +336 -0
- package/src/resources/llm-token-gateway.ts +3 -0
- package/src/resources/meeting-sessions/meeting-sessions.ts +8 -9
- package/src/resources/porting-orders/phone-number-blocks.ts +9 -1
- package/src/resources/porting-orders/porting-orders.ts +9 -1
- package/src/resources/porting-phone-numbers.ts +9 -1
- package/src/resources/requirements.ts +2 -2
- package/src/resources/spend-limits.ts +428 -0
- package/src/resources/terms-of-service/agreements.ts +12 -0
- package/src/resources/terms-of-service/terms-of-service.ts +15 -0
- package/src/resources/text-to-speech/text-to-speech.ts +4 -2
- package/src/resources/webhooks.ts +495 -2
- package/src/resources/whatsapp/phone-numbers/calling-routing.ts +113 -0
- package/src/resources/whatsapp/phone-numbers/index.ts +7 -0
- package/src/resources/whatsapp/phone-numbers/phone-numbers.ts +18 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { Dir, type DirListParams, type DirCreateParams } from "./dir.mjs";
|
|
2
2
|
export { Enterprises, type BillingContact, type EnterprisePublic, type EnterprisePublicWrapped, type NumberReputationPaginationMeta, type OrganizationContact, type PhysicalAddress, type EnterpriseListParams, type EnterpriseCreateParams, type EnterpriseUpdateParams, type EnterprisePublicsDefaultFlatPagination, } from "./enterprises.mjs";
|
|
3
3
|
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, } from "./reputation/index.mjs";
|
|
4
|
+
export { VerifyEmail, type EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams, } from "./verify-email.mjs";
|
|
4
5
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,kBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,GACrC,+BAA2B"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,kBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,0BAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,GACrC,+BAA2B;AAC5B,OAAO,EACL,WAAW,EACX,KAAK,wCAAwC,EAC7C,KAAK,wBAAwB,GAC9B,2BAAuB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { Dir, type DirListParams, type DirCreateParams } from "./dir.js";
|
|
2
2
|
export { Enterprises, type BillingContact, type EnterprisePublic, type EnterprisePublicWrapped, type NumberReputationPaginationMeta, type OrganizationContact, type PhysicalAddress, type EnterpriseListParams, type EnterpriseCreateParams, type EnterpriseUpdateParams, type EnterprisePublicsDefaultFlatPagination, } from "./enterprises.js";
|
|
3
3
|
export { Reputation, type EnterpriseReputationPublic, type EnterpriseReputationPublicWrapped, type ReputationCheckFrequency, type ReputationEnableParams, type ReputationUpdateFrequencyParams, } from "./reputation/index.js";
|
|
4
|
+
export { VerifyEmail, type EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams, } from "./verify-email.js";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,iBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,yBAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,GACrC,8BAA2B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,iBAAc;AACtE,OAAO,EACL,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,sCAAsC,GAC5C,yBAAsB;AACvB,OAAO,EACL,UAAU,EACV,KAAK,0BAA0B,EAC/B,KAAK,iCAAiC,EACtC,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,+BAA+B,GACrC,8BAA2B;AAC5B,OAAO,EACL,WAAW,EACX,KAAK,wCAAwC,EAC7C,KAAK,wBAAwB,GAC9B,0BAAuB"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Reputation = exports.Enterprises = exports.Dir = void 0;
|
|
4
|
+
exports.VerifyEmail = exports.Reputation = exports.Enterprises = exports.Dir = void 0;
|
|
5
5
|
var dir_1 = require("./dir.js");
|
|
6
6
|
Object.defineProperty(exports, "Dir", { enumerable: true, get: function () { return dir_1.Dir; } });
|
|
7
7
|
var enterprises_1 = require("./enterprises.js");
|
|
8
8
|
Object.defineProperty(exports, "Enterprises", { enumerable: true, get: function () { return enterprises_1.Enterprises; } });
|
|
9
9
|
var index_1 = require("./reputation/index.js");
|
|
10
10
|
Object.defineProperty(exports, "Reputation", { enumerable: true, get: function () { return index_1.Reputation; } });
|
|
11
|
+
var verify_email_1 = require("./verify-email.js");
|
|
12
|
+
Object.defineProperty(exports, "VerifyEmail", { enumerable: true, get: function () { return verify_email_1.VerifyEmail; } });
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gCAAsE;AAA7D,0FAAA,GAAG,OAAA;AACZ,gDAYuB;AAXrB,0GAAA,WAAW,OAAA;AAYb,+CAO4B;AAN1B,mGAAA,UAAU,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gCAAsE;AAA7D,0FAAA,GAAG,OAAA;AACZ,gDAYuB;AAXrB,0GAAA,WAAW,OAAA;AAYb,+CAO4B;AAN1B,mGAAA,UAAU,OAAA;AAOZ,kDAIwB;AAHtB,2GAAA,WAAW,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,GAAG,EAA4C,kBAAc;AACtE,OAAO,EACL,WAAW,GAWZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAMX,+BAA2B"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,GAAG,EAA4C,kBAAc;AACtE,OAAO,EACL,WAAW,GAWZ,0BAAsB;AACvB,OAAO,EACL,UAAU,GAMX,+BAA2B;AAC5B,OAAO,EACL,WAAW,GAGZ,2BAAuB"}
|
|
@@ -51,17 +51,59 @@ export declare class Loa extends APIResource {
|
|
|
51
51
|
* when the enterprise works directly with Telnyx.
|
|
52
52
|
*/
|
|
53
53
|
export interface AgentInput {
|
|
54
|
+
/**
|
|
55
|
+
* The state or province of the partner's address, as its code, for example IL or
|
|
56
|
+
* ON.
|
|
57
|
+
*/
|
|
54
58
|
administrative_area: string;
|
|
59
|
+
/**
|
|
60
|
+
* The city of the partner's address.
|
|
61
|
+
*/
|
|
55
62
|
city: string;
|
|
63
|
+
/**
|
|
64
|
+
* The email address of the contact person at the partner.
|
|
65
|
+
*/
|
|
56
66
|
contact_email: string;
|
|
67
|
+
/**
|
|
68
|
+
* The name of a contact person at the partner.
|
|
69
|
+
*/
|
|
57
70
|
contact_name: string;
|
|
71
|
+
/**
|
|
72
|
+
* The phone number of the contact person at the partner, in E.164 format, for
|
|
73
|
+
* example +13125550000.
|
|
74
|
+
*/
|
|
58
75
|
contact_phone: string;
|
|
76
|
+
/**
|
|
77
|
+
* The job title of the contact person at the partner.
|
|
78
|
+
*/
|
|
59
79
|
contact_title: string;
|
|
80
|
+
/**
|
|
81
|
+
* The two-letter country code of the partner's address, for example US.
|
|
82
|
+
*/
|
|
60
83
|
country: string;
|
|
84
|
+
/**
|
|
85
|
+
* The legal name of the third-party partner or reseller managing these numbers on
|
|
86
|
+
* your behalf.
|
|
87
|
+
*/
|
|
61
88
|
legal_name: string;
|
|
89
|
+
/**
|
|
90
|
+
* The postal or ZIP code of the partner's address.
|
|
91
|
+
*/
|
|
62
92
|
postal_code: string;
|
|
93
|
+
/**
|
|
94
|
+
* The street address of the partner, including the building number and street
|
|
95
|
+
* name.
|
|
96
|
+
*/
|
|
63
97
|
street_address: string;
|
|
98
|
+
/**
|
|
99
|
+
* The trade name (Doing Business As) the partner operates under, if different from
|
|
100
|
+
* its legal name. Leave blank if it does not apply.
|
|
101
|
+
*/
|
|
64
102
|
dba?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* An optional second address line for the partner, such as a suite, unit, or
|
|
105
|
+
* floor. Leave blank if it does not apply.
|
|
106
|
+
*/
|
|
65
107
|
extended_address?: string | null;
|
|
66
108
|
}
|
|
67
109
|
export interface LoaUpdateParams {
|
|
@@ -77,7 +119,7 @@ export interface LoaRenderParams {
|
|
|
77
119
|
* Third-party reseller / partner managing the enterprise's phone numbers. Omit
|
|
78
120
|
* when the enterprise works directly with Telnyx.
|
|
79
121
|
*/
|
|
80
|
-
agent?:
|
|
122
|
+
agent?: LoaRenderParams.Agent;
|
|
81
123
|
/**
|
|
82
124
|
* Optional signature embedded in the rendered PDF. When omitted the PDF is
|
|
83
125
|
* returned unsigned for the customer to sign and upload.
|
|
@@ -85,6 +127,24 @@ export interface LoaRenderParams {
|
|
|
85
127
|
signature?: LoaRenderParams.Signature;
|
|
86
128
|
}
|
|
87
129
|
export declare namespace LoaRenderParams {
|
|
130
|
+
/**
|
|
131
|
+
* Third-party reseller / partner managing the enterprise's phone numbers. Omit
|
|
132
|
+
* when the enterprise works directly with Telnyx.
|
|
133
|
+
*/
|
|
134
|
+
interface Agent {
|
|
135
|
+
administrative_area: string;
|
|
136
|
+
city: string;
|
|
137
|
+
contact_email: string;
|
|
138
|
+
contact_name: string;
|
|
139
|
+
contact_phone: string;
|
|
140
|
+
contact_title: string;
|
|
141
|
+
country: string;
|
|
142
|
+
legal_name: string;
|
|
143
|
+
postal_code: string;
|
|
144
|
+
street_address: string;
|
|
145
|
+
dba?: string | null;
|
|
146
|
+
extended_address?: string | null;
|
|
147
|
+
}
|
|
88
148
|
/**
|
|
89
149
|
* Optional signature embedded in the rendered PDF. When omitted the PDF is
|
|
90
150
|
* returned unsigned for the customer to sign and upload.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loa.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/loa.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,iCAAiC,CAAC;IAI9D;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC;CAQxB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAE5B,IAAI,EAAE,MAAM,CAAC;IAEb,aAAa,EAAE,MAAM,CAAC;IAEtB,YAAY,EAAE,MAAM,CAAC;IAErB,aAAa,EAAE,MAAM,CAAC;IAEtB,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,EAAE,MAAM,CAAC;IAEvB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"loa.d.mts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/loa.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EAAE,UAAU,EAAE,sCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,8CAA0C;AAGnE;;GAEG;AACH,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,iCAAiC,CAAC;IAI9D;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC;CAQxB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC;IAE9B;;;OAGG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC;CACvC;AAED,yBAAiB,eAAe,CAAC;IAC/B;;;OAGG;IACH,UAAiB,KAAK;QACpB,mBAAmB,EAAE,MAAM,CAAC;QAE5B,IAAI,EAAE,MAAM,CAAC;QAEb,aAAa,EAAE,MAAM,CAAC;QAEtB,YAAY,EAAE,MAAM,CAAC;QAErB,aAAa,EAAE,MAAM,CAAC;QAEtB,aAAa,EAAE,MAAM,CAAC;QAEtB,OAAO,EAAE,MAAM,CAAC;QAEhB,UAAU,EAAE,MAAM,CAAC;QAEnB,WAAW,EAAE,MAAM,CAAC;QAEpB,cAAc,EAAE,MAAM,CAAC;QAEvB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAClC;IAED;;;OAGG;IACH,UAAiB,SAAS;QACxB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -51,17 +51,59 @@ export declare class Loa extends APIResource {
|
|
|
51
51
|
* when the enterprise works directly with Telnyx.
|
|
52
52
|
*/
|
|
53
53
|
export interface AgentInput {
|
|
54
|
+
/**
|
|
55
|
+
* The state or province of the partner's address, as its code, for example IL or
|
|
56
|
+
* ON.
|
|
57
|
+
*/
|
|
54
58
|
administrative_area: string;
|
|
59
|
+
/**
|
|
60
|
+
* The city of the partner's address.
|
|
61
|
+
*/
|
|
55
62
|
city: string;
|
|
63
|
+
/**
|
|
64
|
+
* The email address of the contact person at the partner.
|
|
65
|
+
*/
|
|
56
66
|
contact_email: string;
|
|
67
|
+
/**
|
|
68
|
+
* The name of a contact person at the partner.
|
|
69
|
+
*/
|
|
57
70
|
contact_name: string;
|
|
71
|
+
/**
|
|
72
|
+
* The phone number of the contact person at the partner, in E.164 format, for
|
|
73
|
+
* example +13125550000.
|
|
74
|
+
*/
|
|
58
75
|
contact_phone: string;
|
|
76
|
+
/**
|
|
77
|
+
* The job title of the contact person at the partner.
|
|
78
|
+
*/
|
|
59
79
|
contact_title: string;
|
|
80
|
+
/**
|
|
81
|
+
* The two-letter country code of the partner's address, for example US.
|
|
82
|
+
*/
|
|
60
83
|
country: string;
|
|
84
|
+
/**
|
|
85
|
+
* The legal name of the third-party partner or reseller managing these numbers on
|
|
86
|
+
* your behalf.
|
|
87
|
+
*/
|
|
61
88
|
legal_name: string;
|
|
89
|
+
/**
|
|
90
|
+
* The postal or ZIP code of the partner's address.
|
|
91
|
+
*/
|
|
62
92
|
postal_code: string;
|
|
93
|
+
/**
|
|
94
|
+
* The street address of the partner, including the building number and street
|
|
95
|
+
* name.
|
|
96
|
+
*/
|
|
63
97
|
street_address: string;
|
|
98
|
+
/**
|
|
99
|
+
* The trade name (Doing Business As) the partner operates under, if different from
|
|
100
|
+
* its legal name. Leave blank if it does not apply.
|
|
101
|
+
*/
|
|
64
102
|
dba?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* An optional second address line for the partner, such as a suite, unit, or
|
|
105
|
+
* floor. Leave blank if it does not apply.
|
|
106
|
+
*/
|
|
65
107
|
extended_address?: string | null;
|
|
66
108
|
}
|
|
67
109
|
export interface LoaUpdateParams {
|
|
@@ -77,7 +119,7 @@ export interface LoaRenderParams {
|
|
|
77
119
|
* Third-party reseller / partner managing the enterprise's phone numbers. Omit
|
|
78
120
|
* when the enterprise works directly with Telnyx.
|
|
79
121
|
*/
|
|
80
|
-
agent?:
|
|
122
|
+
agent?: LoaRenderParams.Agent;
|
|
81
123
|
/**
|
|
82
124
|
* Optional signature embedded in the rendered PDF. When omitted the PDF is
|
|
83
125
|
* returned unsigned for the customer to sign and upload.
|
|
@@ -85,6 +127,24 @@ export interface LoaRenderParams {
|
|
|
85
127
|
signature?: LoaRenderParams.Signature;
|
|
86
128
|
}
|
|
87
129
|
export declare namespace LoaRenderParams {
|
|
130
|
+
/**
|
|
131
|
+
* Third-party reseller / partner managing the enterprise's phone numbers. Omit
|
|
132
|
+
* when the enterprise works directly with Telnyx.
|
|
133
|
+
*/
|
|
134
|
+
interface Agent {
|
|
135
|
+
administrative_area: string;
|
|
136
|
+
city: string;
|
|
137
|
+
contact_email: string;
|
|
138
|
+
contact_name: string;
|
|
139
|
+
contact_phone: string;
|
|
140
|
+
contact_title: string;
|
|
141
|
+
country: string;
|
|
142
|
+
legal_name: string;
|
|
143
|
+
postal_code: string;
|
|
144
|
+
street_address: string;
|
|
145
|
+
dba?: string | null;
|
|
146
|
+
extended_address?: string | null;
|
|
147
|
+
}
|
|
88
148
|
/**
|
|
89
149
|
* Optional signature embedded in the rendered PDF. When omitted the PDF is
|
|
90
150
|
* returned unsigned for the customer to sign and upload.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loa.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/loa.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,iCAAiC,CAAC;IAI9D;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC;CAQxB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,mBAAmB,EAAE,MAAM,CAAC;IAE5B,IAAI,EAAE,MAAM,CAAC;IAEb,aAAa,EAAE,MAAM,CAAC;IAEtB,YAAY,EAAE,MAAM,CAAC;IAErB,aAAa,EAAE,MAAM,CAAC;IAEtB,aAAa,EAAE,MAAM,CAAC;IAEtB,OAAO,EAAE,MAAM,CAAC;IAEhB,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,EAAE,MAAM,CAAC;IAEpB,cAAc,EAAE,MAAM,CAAC;IAEvB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"loa.d.ts","sourceRoot":"","sources":["../../../src/resources/enterprises/reputation/loa.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,EAAE,UAAU,EAAE,qCAAkC;AAEvD,OAAO,EAAE,cAAc,EAAE,6CAA0C;AAGnE;;GAEG;AACH,qBAAa,GAAI,SAAQ,WAAW;IAClC;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,aAAa,CAAC,iCAAiC,CAAC;IAI9D;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,IAAI,GAAE,eAAe,GAAG,IAAI,GAAG,SAAc,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC;CAQxB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;OAGG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B;;;OAGG;IACH,KAAK,CAAC,EAAE,eAAe,CAAC,KAAK,CAAC;IAE9B;;;OAGG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC,SAAS,CAAC;CACvC;AAED,yBAAiB,eAAe,CAAC;IAC/B;;;OAGG;IACH,UAAiB,KAAK;QACpB,mBAAmB,EAAE,MAAM,CAAC;QAE5B,IAAI,EAAE,MAAM,CAAC;QAEb,aAAa,EAAE,MAAM,CAAC;QAEtB,YAAY,EAAE,MAAM,CAAC;QAErB,aAAa,EAAE,MAAM,CAAC;QAEtB,aAAa,EAAE,MAAM,CAAC;QAEtB,OAAO,EAAE,MAAM,CAAC;QAEhB,UAAU,EAAE,MAAM,CAAC;QAEnB,WAAW,EAAE,MAAM,CAAC;QAEpB,cAAc,EAAE,MAAM,CAAC;QAEvB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAEpB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAClC;IAED;;;OAGG;IACH,UAAiB,SAAS;QACxB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KAC7B;CACF;AAED,MAAM,CAAC,OAAO,WAAW,GAAG,CAAC;IAC3B,OAAO,EACL,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,eAAe,IAAI,eAAe,GACxC,CAAC;CACH"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
6
|
+
*/
|
|
7
|
+
export declare class VerifyEmail extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
10
|
+
* ownership of that address.
|
|
11
|
+
*
|
|
12
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
13
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
14
|
+
* approved for use until this contact email is verified.
|
|
15
|
+
*
|
|
16
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
17
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
18
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
23
|
+
* await client.enterprises.verifyEmail.create(
|
|
24
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(enterpriseID: string, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
29
|
+
/**
|
|
30
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
31
|
+
* email. On success the contact email is marked verified.
|
|
32
|
+
*
|
|
33
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
34
|
+
* returns the same generic message.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
39
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
40
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
41
|
+
* { code: '482915' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
confirm(enterpriseID: string, body: VerifyEmailConfirmParams, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
46
|
+
}
|
|
47
|
+
export interface EnterpriseEmailVerificationStatusWrapped {
|
|
48
|
+
/**
|
|
49
|
+
* Verification state for an enterprise account's contact email.
|
|
50
|
+
*/
|
|
51
|
+
data: EnterpriseEmailVerificationStatusWrapped.Data;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace EnterpriseEmailVerificationStatusWrapped {
|
|
54
|
+
/**
|
|
55
|
+
* Verification state for an enterprise account's contact email.
|
|
56
|
+
*/
|
|
57
|
+
interface Data {
|
|
58
|
+
/**
|
|
59
|
+
* Whether the enterprise account's contact email has been confirmed.
|
|
60
|
+
*/
|
|
61
|
+
email_verified: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Always `email_verification`.
|
|
64
|
+
*/
|
|
65
|
+
record_type: 'email_verification';
|
|
66
|
+
/**
|
|
67
|
+
* `sent` after a code is emailed; `verified` after a successful confirm.
|
|
68
|
+
*/
|
|
69
|
+
status: 'sent' | 'verified';
|
|
70
|
+
/**
|
|
71
|
+
* When the code just sent stops being accepted. Present on a send response; null
|
|
72
|
+
* on a confirm response.
|
|
73
|
+
*/
|
|
74
|
+
expires_at?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* How many more codes may be requested for this enterprise account today. Present
|
|
77
|
+
* on a send response; null on a confirm response.
|
|
78
|
+
*/
|
|
79
|
+
sends_remaining_today?: number | null;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export interface VerifyEmailConfirmParams {
|
|
83
|
+
/**
|
|
84
|
+
* The 6-digit code sent to the enterprise account's contact email.
|
|
85
|
+
*/
|
|
86
|
+
code: string;
|
|
87
|
+
}
|
|
88
|
+
export declare namespace VerifyEmail {
|
|
89
|
+
export { type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=verify-email.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email.d.mts","sourceRoot":"","sources":["../../src/resources/enterprises/verify-email.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;IAIvD;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;CAGxD;AAED,MAAM,WAAW,wCAAwC;IACvD;;OAEG;IACH,IAAI,EAAE,wCAAwC,CAAC,IAAI,CAAC;CACrD;AAED,yBAAiB,wCAAwC,CAAC;IACxD;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,cAAc,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,WAAW,EAAE,oBAAoB,CAAC;QAElC;;WAEG;QACH,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;QAE5B;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACvC;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
6
|
+
*/
|
|
7
|
+
export declare class VerifyEmail extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
10
|
+
* ownership of that address.
|
|
11
|
+
*
|
|
12
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
13
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
14
|
+
* approved for use until this contact email is verified.
|
|
15
|
+
*
|
|
16
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
17
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
18
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
23
|
+
* await client.enterprises.verifyEmail.create(
|
|
24
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(enterpriseID: string, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
29
|
+
/**
|
|
30
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
31
|
+
* email. On success the contact email is marked verified.
|
|
32
|
+
*
|
|
33
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
34
|
+
* returns the same generic message.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
39
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
40
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
41
|
+
* { code: '482915' },
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
confirm(enterpriseID: string, body: VerifyEmailConfirmParams, options?: RequestOptions): APIPromise<EnterpriseEmailVerificationStatusWrapped>;
|
|
46
|
+
}
|
|
47
|
+
export interface EnterpriseEmailVerificationStatusWrapped {
|
|
48
|
+
/**
|
|
49
|
+
* Verification state for an enterprise account's contact email.
|
|
50
|
+
*/
|
|
51
|
+
data: EnterpriseEmailVerificationStatusWrapped.Data;
|
|
52
|
+
}
|
|
53
|
+
export declare namespace EnterpriseEmailVerificationStatusWrapped {
|
|
54
|
+
/**
|
|
55
|
+
* Verification state for an enterprise account's contact email.
|
|
56
|
+
*/
|
|
57
|
+
interface Data {
|
|
58
|
+
/**
|
|
59
|
+
* Whether the enterprise account's contact email has been confirmed.
|
|
60
|
+
*/
|
|
61
|
+
email_verified: boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Always `email_verification`.
|
|
64
|
+
*/
|
|
65
|
+
record_type: 'email_verification';
|
|
66
|
+
/**
|
|
67
|
+
* `sent` after a code is emailed; `verified` after a successful confirm.
|
|
68
|
+
*/
|
|
69
|
+
status: 'sent' | 'verified';
|
|
70
|
+
/**
|
|
71
|
+
* When the code just sent stops being accepted. Present on a send response; null
|
|
72
|
+
* on a confirm response.
|
|
73
|
+
*/
|
|
74
|
+
expires_at?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* How many more codes may be requested for this enterprise account today. Present
|
|
77
|
+
* on a send response; null on a confirm response.
|
|
78
|
+
*/
|
|
79
|
+
sends_remaining_today?: number | null;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
export interface VerifyEmailConfirmParams {
|
|
83
|
+
/**
|
|
84
|
+
* The 6-digit code sent to the enterprise account's contact email.
|
|
85
|
+
*/
|
|
86
|
+
code: string;
|
|
87
|
+
}
|
|
88
|
+
export declare namespace VerifyEmail {
|
|
89
|
+
export { type EnterpriseEmailVerificationStatusWrapped as EnterpriseEmailVerificationStatusWrapped, type VerifyEmailConfirmParams as VerifyEmailConfirmParams, };
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=verify-email.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email.d.ts","sourceRoot":"","sources":["../../src/resources/enterprises/verify-email.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;IAIvD;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAY,EAAE,MAAM,EACpB,IAAI,EAAE,wBAAwB,EAC9B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,wCAAwC,CAAC;CAGxD;AAED,MAAM,WAAW,wCAAwC;IACvD;;OAEG;IACH,IAAI,EAAE,wCAAwC,CAAC,IAAI,CAAC;CACrD;AAED,yBAAiB,wCAAwC,CAAC;IACxD;;OAEG;IACH,UAAiB,IAAI;QACnB;;WAEG;QACH,cAAc,EAAE,OAAO,CAAC;QAExB;;WAEG;QACH,WAAW,EAAE,oBAAoB,CAAC;QAElC;;WAEG;QACH,MAAM,EAAE,MAAM,GAAG,UAAU,CAAC;QAE5B;;;WAGG;QACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QAE3B;;;WAGG;QACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACvC;CACF;AAED,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,wCAAwC,IAAI,wCAAwC,EACzF,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;CACH"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.VerifyEmail = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
const path_1 = require("../../internal/utils/path.js");
|
|
7
|
+
/**
|
|
8
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
9
|
+
*/
|
|
10
|
+
class VerifyEmail extends resource_1.APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
13
|
+
* ownership of that address.
|
|
14
|
+
*
|
|
15
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
16
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
17
|
+
* approved for use until this contact email is verified.
|
|
18
|
+
*
|
|
19
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
20
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
21
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
26
|
+
* await client.enterprises.verifyEmail.create(
|
|
27
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
create(enterpriseID, options) {
|
|
32
|
+
return this._client.post((0, path_1.path) `/enterprises/${enterpriseID}/verify_email`, options);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
36
|
+
* email. On success the contact email is marked verified.
|
|
37
|
+
*
|
|
38
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
39
|
+
* returns the same generic message.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
44
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
45
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
46
|
+
* { code: '482915' },
|
|
47
|
+
* );
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
confirm(enterpriseID, body, options) {
|
|
51
|
+
return this._client.post((0, path_1.path) `/enterprises/${enterpriseID}/verify_email/confirm`, { body, ...options });
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
exports.VerifyEmail = VerifyEmail;
|
|
55
|
+
//# sourceMappingURL=verify-email.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email.js","sourceRoot":"","sources":["../../src/resources/enterprises/verify-email.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAGlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,eAAe,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAoB,EACpB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,gBAAgB,YAAY,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF;AAnDD,kCAmDC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import { path } from "../../internal/utils/path.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Verify ownership of a DIR's authorizer email. A short code is emailed and confirmed; the email must be verified before references can be submitted.
|
|
6
|
+
*/
|
|
7
|
+
export class VerifyEmail extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Email a 6-digit code to the enterprise account's contact email to confirm
|
|
10
|
+
* ownership of that address.
|
|
11
|
+
*
|
|
12
|
+
* A BPO (Business Process Outsourcer) account has no DIR, so it proves ownership
|
|
13
|
+
* of its own contact email here rather than through a DIR. A BPO account cannot be
|
|
14
|
+
* approved for use until this contact email is verified.
|
|
15
|
+
*
|
|
16
|
+
* The code expires in 15 minutes. Requesting a new code invalidates any previous
|
|
17
|
+
* one. Resends are rate limited (a short cooldown plus a daily cap). Submit the
|
|
18
|
+
* code to `POST /enterprises/{enterprise_id}/verify_email/confirm`.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
23
|
+
* await client.enterprises.verifyEmail.create(
|
|
24
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
create(enterpriseID, options) {
|
|
29
|
+
return this._client.post(path `/enterprises/${enterpriseID}/verify_email`, options);
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Submit the 6-digit code that was emailed to the enterprise account's contact
|
|
33
|
+
* email. On success the contact email is marked verified.
|
|
34
|
+
*
|
|
35
|
+
* For security, any failure (wrong, expired, already-used, or too many attempts)
|
|
36
|
+
* returns the same generic message.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const enterpriseEmailVerificationStatusWrapped =
|
|
41
|
+
* await client.enterprises.verifyEmail.confirm(
|
|
42
|
+
* '4a6192a4-573d-446d-b3ce-aff9117272a6',
|
|
43
|
+
* { code: '482915' },
|
|
44
|
+
* );
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
confirm(enterpriseID, body, options) {
|
|
48
|
+
return this._client.post(path `/enterprises/${enterpriseID}/verify_email/confirm`, { body, ...options });
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
//# sourceMappingURL=verify-email.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verify-email.mjs","sourceRoot":"","sources":["../../src/resources/enterprises/verify-email.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAGlD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,YAAoB,EACpB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,eAAe,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CACL,YAAoB,EACpB,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,gBAAgB,YAAY,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF"}
|
package/resources/index.d.mts
CHANGED
|
@@ -34,7 +34,7 @@ export { CustomStorageCredentials, type AzureConfigurationData, type Credentials
|
|
|
34
34
|
export { CustomerServiceRecords, type CustomerServiceRecord, type CustomerServiceRecordCreateResponse, type CustomerServiceRecordRetrieveResponse, type CustomerServiceRecordVerifyPhoneNumberCoverageResponse, type CustomerServiceRecordListParams, type CustomerServiceRecordCreateParams, type CustomerServiceRecordVerifyPhoneNumberCoverageParams, type CustomerServiceRecordsDefaultFlatPagination, } from "./customer-service-records.mjs";
|
|
35
35
|
export { DetailRecords, type DetailRecordListResponse, type DetailRecordListParams, type DetailRecordListResponsesDefaultFlatPagination, } from "./detail-records.mjs";
|
|
36
36
|
export { DialogflowConnections, type DialogflowConnectionResponse, type DialogflowConnectionCreateParams, type DialogflowConnectionUpdateParams, } from "./dialogflow-connections.mjs";
|
|
37
|
-
export { DirResource, type Dir, type DirList, type DirStatus, type DirWrapped, type Document, type DirListDocumentTypesResponse, type DirListParams, type DirUpdateParams, type DirListInfringementClaimsParams, type DirUpdateInfringementParams, type DirNewLoaParams, type DirsDefaultFlatPagination, } from "./dir/dir.mjs";
|
|
37
|
+
export { DirResource, type BpoAuthorizationInput, type Dir, type DirList, type DirStatus, type DirWrapped, type Document, type SignaturePayload, type DirDeleteResponse, type DirListDocumentTypesResponse, type DirRetrieveBpoAuthorizationsResponse, type DirListParams, type DirUpdateParams, type DirListInfringementClaimsParams, type DirUpdateInfringementParams, type DirNewLoaParams, type DirRetrieveBpoAuthorizationsParams, type DirBpoLoaParams, type DirsDefaultFlatPagination, } from "./dir/dir.mjs";
|
|
38
38
|
export { DocumentLinks, type DocumentLinkListResponse, type DocumentLinkListParams, type DocumentLinkListResponsesDefaultFlatPagination, } from "./document-links.mjs";
|
|
39
39
|
export { Documents, type DocServiceDocument, type DocServiceRecord, type DocumentRetrieveResponse, type DocumentUpdateResponse, type DocumentDeleteResponse, type DocumentGenerateDownloadLinkResponse, type DocumentUploadResponse, type DocumentUploadJsonResponse, type DocumentListParams, type DocumentUploadParams, type DocumentUploadJsonParams, type DocumentUpdateParams, type DocServiceDocumentsDefaultFlatPagination, } from "./documents.mjs";
|
|
40
40
|
export { DynamicEmergencyAddresses, type DynamicEmergencyAddress, type DynamicEmergencyAddressCreateResponse, type DynamicEmergencyAddressRetrieveResponse, type DynamicEmergencyAddressDeleteResponse, type DynamicEmergencyAddressListParams, type DynamicEmergencyAddressCreateParams, type DynamicEmergencyAddressesDefaultFlatPagination, } from "./dynamic-emergency-addresses.mjs";
|
|
@@ -76,6 +76,7 @@ export { Invoices, type InvoiceRetrieveResponse, type InvoiceListResponse, type
|
|
|
76
76
|
export { LedgerBillingGroupReports, type LedgerBillingGroupReport, type LedgerBillingGroupReportCreateResponse, type LedgerBillingGroupReportRetrieveResponse, type LedgerBillingGroupReportCreateParams, } from "./ledger-billing-group-reports.mjs";
|
|
77
77
|
export { Legacy } from "./legacy/legacy.mjs";
|
|
78
78
|
export { List, type ListRetrieveAllResponse, type ListRetrieveByZoneResponse } from "./list.mjs";
|
|
79
|
+
export { LlmTokenGateway } from "./llm-token-gateway/llm-token-gateway.mjs";
|
|
79
80
|
export { MachinePayments, type MachinePaymentAccountCreditResponse, type MachinePaymentAccountCreditParams, } from "./machine-payments.mjs";
|
|
80
81
|
export { ManagedAccounts, type ManagedAccount, type ManagedAccountBalance, type ManagedAccountCreateResponse, type ManagedAccountRetrieveResponse, type ManagedAccountUpdateResponse, type ManagedAccountListResponse, type ManagedAccountGetAllocatableGlobalOutboundChannelsResponse, type ManagedAccountUpdateGlobalChannelLimitResponse, type ManagedAccountListParams, type ManagedAccountCreateParams, type ManagedAccountUpdateParams, type ManagedAccountUpdateGlobalChannelLimitParams, type ManagedAccountListResponsesDefaultFlatPagination, } from "./managed-accounts/managed-accounts.mjs";
|
|
81
82
|
export { Media, type MediaResource, type MediaRetrieveResponse, type MediaUpdateResponse, type MediaListResponse, type MediaUploadResponse, type MediaListParams, type MediaUploadParams, type MediaUpdateParams, } from "./media.mjs";
|
|
@@ -154,6 +155,7 @@ export { SimCardOrders, type SimCardOrder, type SimCardOrderCreateResponse, type
|
|
|
154
155
|
export { SimCards, type SimCard, type SimCardRetrieveResponse, type SimCardUpdateResponse, type SimCardDeleteResponse, type SimCardGetActivationCodeResponse, type SimCardGetDeviceDetailsResponse, type SimCardGetPublicIPResponse, type SimCardListWirelessConnectivityLogsResponse, type SimCardListParams, type SimCardDeleteParams, type SimCardRetrieveParams, type SimCardUpdateParams, type SimCardListWirelessConnectivityLogsParams, type SimCardListWirelessConnectivityLogsResponsesDefaultFlatPagination, } from "./sim-cards/sim-cards.mjs";
|
|
155
156
|
export { SiprecConnectors, type SiprecConnectorResponse, type SiprecConnectorCreateParams, type SiprecConnectorUpdateParams, } from "./siprec-connectors.mjs";
|
|
156
157
|
export { SpeechToText, type SttServiceType, type TranscribeClientEvent, type TranscribeServerEvent, type SpeechToTextListProvidersResponse, type SpeechToTextListProvidersParams, type SpeechToTextRetrieveTranscriptionParams, } from "./speech-to-text.mjs";
|
|
158
|
+
export { SpendLimits, type SpendLimit, type SpendLimitPeriod, type SpendLimitResponse, type SpendLimitListResponse, type SpendLimitCreateParams, type SpendLimitDeleteParams, type SpendLimitUpdateParams, } from "./spend-limits.mjs";
|
|
157
159
|
export { Storage, type StorageListMigrationSourceCoverageResponse } from "./storage/storage.mjs";
|
|
158
160
|
export { SubNumberOrders, type NumbersSubNumberOrder, type SubNumberOrder, type SubNumberOrderRegulatoryRequirement, type SubNumberOrderRetrieveResponse, type SubNumberOrderUpdateResponse, type SubNumberOrderListResponse, type SubNumberOrderCancelResponse, type SubNumberOrderUpdateRequirementGroupResponse, type SubNumberOrderListParams, type SubNumberOrderUpdateRequirementGroupParams, type SubNumberOrderRetrieveParams, type SubNumberOrderUpdateParams, } from "./sub-number-orders.mjs";
|
|
159
161
|
export { SubNumberOrdersReportResource, type SubNumberOrdersReport, type SubNumberOrdersReportCreateResponse, type SubNumberOrdersReportRetrieveResponse, type SubNumberOrdersReportDownloadResponse, type SubNumberOrdersReportCreateParams, } from "./sub-number-orders-report.mjs";
|
|
@@ -177,7 +179,7 @@ export { VoiceDesigns, type VoiceDesignData, type VoiceDesignResponse, type Voic
|
|
|
177
179
|
export { VoiceSDKCallReports, type VoiceSDKCallReport, type VoiceSDKCallReportLogEntry, type VoiceSDKCallReportRetrieveResponse, type VoiceSDKCallReportListParams, type VoiceSDKCallReportsDefaultFlatPagination, } from "./voice-sdk-call-reports.mjs";
|
|
178
180
|
export { WebSearch, type WebSearchResult, type WebSearchCreateResponse, type WebSearchContentsResponse, type WebSearchCreateParams, type WebSearchContentsParams, } from "./web-search/web-search.mjs";
|
|
179
181
|
export { WebhookDeliveries, type Attempt, type HTTP, type WebhookDelivery, type WebhookDeliveryRetrieveResponse, type WebhookDeliveryListParams, type WebhookDeliveriesDefaultFlatPagination, } from "./webhook-deliveries.mjs";
|
|
180
|
-
export { Webhooks, type CallAIGatherEnded, type CallAIGatherMessageHistoryUpdated, type CallAIGatherPartialResults, type CallAnswered, type CallBridged, type CallConversationEnded, type CallConversationInsightsGenerated, type CallDtmfReceived, type CallEnqueued, type CallForkStarted, type CallForkStopped, type CallGatherEnded, type CallHangup, type CallInitiated, type CallLeftQueue, type CallMachineDetectionEnded, type CallMachineGreetingEnded, type CallMachinePremiumDetectionEnded, type CallMachinePremiumGreetingEnded, type CallPlaybackEnded, type CallPlaybackStarted, type CallRecordingError, type CallRecordingSaved, type CallRecordingTranscriptionSaved, type CallReferCompleted, type CallReferFailed, type CallReferStarted, type CallSiprecFailed, type CallSiprecStarted, type CallSiprecStopped, type CallSpeakEnded, type CallSpeakStarted, type CallStreamingFailed, type CallStreamingStarted, type CallStreamingStopped, type CampaignStatusUpdate, type ConferenceCreated, type ConferenceEnded, type ConferenceFloorChanged, type ConferenceParticipantJoined, type ConferenceParticipantLeft, type ConferenceParticipantPlaybackEnded, type ConferenceParticipantPlaybackStarted, type ConferenceParticipantSpeakEnded, type ConferenceParticipantSpeakStarted, type ConferencePlaybackEnded, type ConferencePlaybackStarted, type ConferenceRecordingSaved, type ConferenceSpeakEnded, type ConferenceSpeakStarted, type FaxDelivered, type FaxFailed, type FaxMediaProcessed, type FaxQueued, type FaxSendingStarted, type InboundMessage, type InboundSipHeader, type MessagingInboundMessage, type NumberOrderStatusUpdate, type OutboundMessage, type ReplacedLinkClick, type Transcription, type WhatsappAccountUpdate, type WhatsappMessageEcho, type CallAIGatherEndedWebhookEvent, type CallAIGatherMessageHistoryUpdatedWebhookEvent, type CallAIGatherPartialResultsWebhookEvent, type ArtifactCompletedWebhookEvent, type ArtifactFailedWebhookEvent, type CallAnsweredWebhookEvent, type CallBridgedWebhookEvent, type CallConversationEndedWebhookEvent, type CallConversationInsightsGeneratedWebhookEvent, type CallCostWebhookEvent, type CallDeepfakeDetectionErrorWebhookEvent, type CallDeepfakeDetectionResultWebhookEvent, type CallDtmfReceivedWebhookEvent, type CallEnqueuedWebhookEvent, type CallForkStartedWebhookEvent, type CallForkStoppedWebhookEvent, type CallGatherEndedWebhookEvent, type CallHangupWebhookEvent, type CallHoldWebhookEvent, type CallInitiatedWebhookEvent, type CallLeftQueueWebhookEvent, type CallMachineDetectionEndedWebhookEvent, type CallMachineGreetingEndedWebhookEvent, type CallMachinePremiumDetectionEndedWebhookEvent, type CallMachinePremiumGreetingEndedWebhookEvent, type CallPaymentCompletedWebhookEvent, type CallPaymentProgressWebhookEvent, type CallPlaybackEndedWebhookEvent, type CallPlaybackStartedWebhookEvent, type CallRecordingErrorWebhookEvent, type CallRecordingSavedWebhookEvent, type CallRecordingTranscriptionSavedWebhookEvent, type CallReferCompletedWebhookEvent, type CallReferFailedWebhookEvent, type CallReferStartedWebhookEvent, type CallSiprecFailedWebhookEvent, type CallSiprecStartedWebhookEvent, type CallSiprecStoppedWebhookEvent, type CallSpeakEndedWebhookEvent, type CallSpeakStartedWebhookEvent, type CallStreamingFailedWebhookEvent, type CallStreamingStartedWebhookEvent, type CallStreamingStoppedWebhookEvent, type CallUnholdWebhookEvent, type ConferenceCreatedWebhookEvent, type ConferenceEndedWebhookEvent, type ConferenceParticipantJoinedWebhookEvent, type ConferenceParticipantLeftWebhookEvent, type ConferenceParticipantPlaybackEndedWebhookEvent, type ConferenceParticipantPlaybackStartedWebhookEvent, type ConferenceParticipantSpeakEndedWebhookEvent, type ConferenceParticipantSpeakStartedWebhookEvent, type ConferencePlaybackEndedWebhookEvent, type ConferencePlaybackStartedWebhookEvent, type ConferenceRecordingSavedWebhookEvent, type ConferenceSpeakEndedWebhookEvent, type ConferenceSpeakStartedWebhookEvent, type DeliveryUpdateWebhookEvent, type HostedNumberOrderEventWebhookEvent, type InboundMessageWebhookEvent, type NumberOrderStatusUpdateWebhookEvent, type RecordingAvailableWebhookEvent, type ReplacedLinkClickWebhookEvent, type SessionStatusChangedWebhookEvent, type TranscriptCompletedWebhookEvent, type TranscriptionWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type InboundMessagesEmailBracketCursorPagination, } from "./webhooks.mjs";
|
|
182
|
+
export { Webhooks, type CallAIGatherEnded, type CallAIGatherMessageHistoryUpdated, type CallAIGatherPartialResults, type CallAnswered, type CallBridged, type CallConversationEnded, type CallConversationInsightsGenerated, type CallDtmfReceived, type CallEnqueued, type CallForkStarted, type CallForkStopped, type CallGatherEnded, type CallHangup, type CallInitiated, type CallLeftQueue, type CallMachineDetectionEnded, type CallMachineGreetingEnded, type CallMachinePremiumDetectionEnded, type CallMachinePremiumGreetingEnded, type CallPlaybackEnded, type CallPlaybackStarted, type CallRecordingError, type CallRecordingSaved, type CallRecordingTranscriptionSaved, type CallReferCompleted, type CallReferFailed, type CallReferStarted, type CallSiprecFailed, type CallSiprecStarted, type CallSiprecStopped, type CallSpeakEnded, type CallSpeakStarted, type CallStreamingFailed, type CallStreamingStarted, type CallStreamingStopped, type CampaignStatusUpdate, type ConferenceCreated, type ConferenceEnded, type ConferenceFloorChanged, type ConferenceParticipantJoined, type ConferenceParticipantLeft, type ConferenceParticipantPlaybackEnded, type ConferenceParticipantPlaybackStarted, type ConferenceParticipantSpeakEnded, type ConferenceParticipantSpeakStarted, type ConferencePlaybackEnded, type ConferencePlaybackStarted, type ConferenceRecordingSaved, type ConferenceSpeakEnded, type ConferenceSpeakStarted, type FaxDelivered, type FaxFailed, type FaxMediaProcessed, type FaxQueued, type FaxSendingStarted, type InboundMessage, type InboundSipHeader, type MessagingInboundMessage, type NumberOrderStatusUpdate, type OutboundMessage, type ReplacedLinkClick, type Transcription, type WhatsappAccountUpdate, type WhatsappMessageEcho, type CallAIGatherEndedWebhookEvent, type CallAIGatherMessageHistoryUpdatedWebhookEvent, type CallAIGatherPartialResultsWebhookEvent, type ArtifactCompletedWebhookEvent, type ArtifactFailedWebhookEvent, type CallAnsweredWebhookEvent, type CallBridgedWebhookEvent, type CallConversationCreatedWebhookEvent, type CallConversationEndedWebhookEvent, type CallConversationInsightsGeneratedWebhookEvent, type CallCostWebhookEvent, type CallDeepfakeDetectionErrorWebhookEvent, type CallDeepfakeDetectionResultWebhookEvent, type CallDtmfReceivedWebhookEvent, type CallEnqueuedWebhookEvent, type CallForkStartedWebhookEvent, type CallForkStoppedWebhookEvent, type CallGatherEndedWebhookEvent, type CallHangupWebhookEvent, type CallHoldWebhookEvent, type CallInitiatedWebhookEvent, type CallLeftQueueWebhookEvent, type CallMachineDetectionEndedWebhookEvent, type CallMachineGreetingEndedWebhookEvent, type CallMachinePremiumCallScreeningDetectedWebhookEvent, type CallMachinePremiumDetectionEndedWebhookEvent, type CallMachinePremiumDetectionStartedWebhookEvent, type CallMachinePremiumGreetingEndedWebhookEvent, type CallPaymentCompletedWebhookEvent, type CallPaymentProgressWebhookEvent, type CallPlaybackEndedWebhookEvent, type CallPlaybackStartedWebhookEvent, type CallRecordingErrorWebhookEvent, type CallRecordingSavedWebhookEvent, type CallRecordingTranscriptionSavedWebhookEvent, type CallReferCompletedWebhookEvent, type CallReferFailedWebhookEvent, type CallReferStartedWebhookEvent, type CallSiprecFailedWebhookEvent, type CallSiprecStartedWebhookEvent, type CallSiprecStoppedWebhookEvent, type CallSpeakEndedWebhookEvent, type CallSpeakStartedWebhookEvent, type CallStreamingFailedWebhookEvent, type CallStreamingStartedWebhookEvent, type CallStreamingStoppedWebhookEvent, type CallUnholdWebhookEvent, type ConferenceCreatedWebhookEvent, type ConferenceEndedWebhookEvent, type ConferenceParticipantJoinedWebhookEvent, type ConferenceParticipantLeftWebhookEvent, type ConferenceParticipantPlaybackEndedWebhookEvent, type ConferenceParticipantPlaybackStartedWebhookEvent, type ConferenceParticipantSpeakEndedWebhookEvent, type ConferenceParticipantSpeakStartedWebhookEvent, type ConferencePlaybackEndedWebhookEvent, type ConferencePlaybackStartedWebhookEvent, type ConferenceRecordingSavedWebhookEvent, type ConferenceSpeakEndedWebhookEvent, type ConferenceSpeakStartedWebhookEvent, type DeliveryUpdateWebhookEvent, type HostedNumberOrderEventWebhookEvent, type InboundMessageWebhookEvent, type NumberOrderStatusUpdateWebhookEvent, type RecordingAvailableWebhookEvent, type ReplacedLinkClickWebhookEvent, type SessionStatusChangedWebhookEvent, type TranscriptCompletedWebhookEvent, type TranscriptionWebhookEvent, type UnsafeUnwrapWebhookEvent, type UnwrapWebhookEvent, type InboundMessagesEmailBracketCursorPagination, } from "./webhooks.mjs";
|
|
181
183
|
export { WellKnown, type WellKnownRetrieveAuthorizationServerMetadataResponse, type WellKnownRetrieveProtectedResourceMetadataResponse, } from "./well-known.mjs";
|
|
182
184
|
export { Whatsapp } from "./whatsapp/whatsapp.mjs";
|
|
183
185
|
export { WhatsappMessageTemplates, type WhatsappMessageTemplateRetrieveResponse, type WhatsappMessageTemplateUpdateResponse, type WhatsappMessageTemplateUpdateParams, } from "./whatsapp-message-templates.mjs";
|