@flexprice/sdk 2.0.11 → 2.0.13
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/README.md +78 -0
- package/docs/sdk/models/dto-create-customer-request.md +0 -1
- package/docs/sdk/models/dto-customer-response.md +1 -0
- package/docs/sdk/models/dto-invoice-response.md +1 -0
- package/docs/sdk/models/{dto-create-entity-integration-mapping-request.md → dto-link-integration-mapping-request.md} +4 -4
- package/docs/sdk/models/dto-link-integration-mapping-response.md +15 -0
- package/docs/sdk/models/dto-update-customer-request.md +0 -1
- package/docs/sdk/models/invoice-status.md +1 -1
- package/docs/sdk/models/schedule-draft-finalization-response.md +16 -0
- package/docs/sdk/models/scheduled-task-interval.md +1 -1
- package/docs/sdk/models/webhook-dto-alert-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-communication-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-credit-note-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-customer-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-entitlement-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-feature-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-invoice-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-payment-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-subscription-phase-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-subscription-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-transaction-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-dto-wallet-webhook-payload.md +1 -1
- package/docs/sdk/models/webhook-event-name.md +17 -0
- package/docs/sdks/integrations/README.md +18 -235
- package/docs/sdks/scheduledtasks/README.md +73 -2
- package/esm/funcs/coupons-create-coupon.d.ts +2 -0
- package/esm/funcs/coupons-create-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-create-coupon.js +3 -1
- package/esm/funcs/coupons-create-coupon.js.map +1 -1
- package/esm/funcs/coupons-delete-coupon.d.ts +2 -0
- package/esm/funcs/coupons-delete-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-delete-coupon.js +3 -1
- package/esm/funcs/coupons-delete-coupon.js.map +1 -1
- package/esm/funcs/coupons-update-coupon.d.ts +2 -0
- package/esm/funcs/coupons-update-coupon.d.ts.map +1 -1
- package/esm/funcs/coupons-update-coupon.js +3 -1
- package/esm/funcs/coupons-update-coupon.js.map +1 -1
- package/esm/funcs/credit-notes-create-credit-note.d.ts +2 -0
- package/esm/funcs/credit-notes-create-credit-note.d.ts.map +1 -1
- package/esm/funcs/credit-notes-create-credit-note.js +3 -1
- package/esm/funcs/credit-notes-create-credit-note.js.map +1 -1
- package/esm/funcs/credit-notes-process-credit-note.d.ts +2 -0
- package/esm/funcs/credit-notes-process-credit-note.d.ts.map +1 -1
- package/esm/funcs/credit-notes-process-credit-note.js +3 -1
- package/esm/funcs/credit-notes-process-credit-note.js.map +1 -1
- package/esm/funcs/credit-notes-void-credit-note.d.ts +2 -0
- package/esm/funcs/credit-notes-void-credit-note.d.ts.map +1 -1
- package/esm/funcs/credit-notes-void-credit-note.js +3 -1
- package/esm/funcs/credit-notes-void-credit-note.js.map +1 -1
- package/esm/funcs/{integrations-get-integration.d.ts → integrations-link-integration-mapping.d.ts} +4 -4
- package/esm/funcs/integrations-link-integration-mapping.d.ts.map +1 -0
- package/esm/funcs/{entity-integration-mappings-create-entity-integration-mapping.js → integrations-link-integration-mapping.js} +9 -9
- package/esm/funcs/integrations-link-integration-mapping.js.map +1 -0
- package/esm/funcs/scheduled-tasks-schedule-draft-finalization.d.ts +17 -0
- package/esm/funcs/scheduled-tasks-schedule-draft-finalization.d.ts.map +1 -0
- package/esm/funcs/{integrations-list-linked-integrations.js → scheduled-tasks-schedule-draft-finalization.js} +9 -9
- package/esm/funcs/scheduled-tasks-schedule-draft-finalization.js.map +1 -0
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/security.d.ts +1 -1
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +19 -8
- package/esm/lib/security.js.map +1 -1
- package/esm/sdk/integrations.d.ts +3 -24
- package/esm/sdk/integrations.d.ts.map +1 -1
- package/esm/sdk/integrations.js +5 -35
- package/esm/sdk/integrations.js.map +1 -1
- package/esm/sdk/models/dto-create-customer-request.d.ts +0 -6
- package/esm/sdk/models/dto-create-customer-request.d.ts.map +1 -1
- package/esm/sdk/models/dto-create-customer-request.js +0 -3
- package/esm/sdk/models/dto-create-customer-request.js.map +1 -1
- package/esm/sdk/models/dto-customer-response.d.ts +2 -0
- package/esm/sdk/models/dto-customer-response.d.ts.map +1 -1
- package/esm/sdk/models/dto-customer-response.js +2 -0
- package/esm/sdk/models/dto-customer-response.js.map +1 -1
- package/esm/sdk/models/dto-invoice-response.d.ts +4 -0
- package/esm/sdk/models/dto-invoice-response.d.ts.map +1 -1
- package/esm/sdk/models/dto-invoice-response.js +2 -0
- package/esm/sdk/models/dto-invoice-response.js.map +1 -1
- package/esm/sdk/models/dto-link-integration-mapping-request.d.ts +25 -0
- package/esm/sdk/models/dto-link-integration-mapping-request.d.ts.map +1 -0
- package/esm/sdk/models/{dto-create-entity-integration-mapping-request.js → dto-link-integration-mapping-request.js} +4 -4
- package/esm/sdk/models/dto-link-integration-mapping-request.js.map +1 -0
- package/esm/sdk/models/dto-link-integration-mapping-response.d.ts +11 -0
- package/esm/sdk/models/dto-link-integration-mapping-response.d.ts.map +1 -0
- package/esm/sdk/models/dto-link-integration-mapping-response.js +15 -0
- package/esm/sdk/models/dto-link-integration-mapping-response.js.map +1 -0
- package/esm/sdk/models/dto-update-customer-request.d.ts +0 -6
- package/esm/sdk/models/dto-update-customer-request.d.ts.map +1 -1
- package/esm/sdk/models/dto-update-customer-request.js +0 -3
- package/esm/sdk/models/dto-update-customer-request.js.map +1 -1
- package/esm/sdk/models/index.d.ts +4 -8
- package/esm/sdk/models/index.d.ts.map +1 -1
- package/esm/sdk/models/index.js +4 -8
- package/esm/sdk/models/index.js.map +1 -1
- package/esm/sdk/models/invoice-status.d.ts +1 -0
- package/esm/sdk/models/invoice-status.d.ts.map +1 -1
- package/esm/sdk/models/invoice-status.js +1 -0
- package/esm/sdk/models/invoice-status.js.map +1 -1
- package/esm/sdk/models/schedule-draft-finalization-op.d.ts +11 -0
- package/esm/sdk/models/schedule-draft-finalization-op.d.ts.map +1 -0
- package/esm/sdk/models/schedule-draft-finalization-op.js +11 -0
- package/esm/sdk/models/schedule-draft-finalization-op.js.map +1 -0
- package/esm/sdk/models/scheduled-task-interval.d.ts +1 -0
- package/esm/sdk/models/scheduled-task-interval.d.ts.map +1 -1
- package/esm/sdk/models/scheduled-task-interval.js +1 -0
- package/esm/sdk/models/scheduled-task-interval.js.map +1 -1
- package/esm/sdk/models/secret-provider.d.ts +0 -2
- package/esm/sdk/models/secret-provider.d.ts.map +1 -1
- package/esm/sdk/models/secret-provider.js +0 -2
- package/esm/sdk/models/secret-provider.js.map +1 -1
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-alert-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-communication-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-credit-note-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-customer-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-entitlement-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-feature-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-invoice-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-payment-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-subscription-phase-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-subscription-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-transaction-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts +2 -1
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.d.ts.map +1 -1
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js +2 -1
- package/esm/sdk/models/webhook-dto-wallet-webhook-payload.js.map +1 -1
- package/esm/sdk/models/webhook-event-name.d.ts +51 -0
- package/esm/sdk/models/webhook-event-name.d.ts.map +1 -0
- package/esm/sdk/models/webhook-event-name.js +52 -0
- package/esm/sdk/models/webhook-event-name.js.map +1 -0
- package/esm/sdk/scheduled-tasks.d.ts +7 -0
- package/esm/sdk/scheduled-tasks.d.ts.map +1 -1
- package/esm/sdk/scheduled-tasks.js +10 -0
- package/esm/sdk/scheduled-tasks.js.map +1 -1
- package/esm/sdk/sdk.d.ts +2 -5
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +4 -9
- package/esm/sdk/sdk.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/coupons-create-coupon.ts +3 -1
- package/src/funcs/coupons-delete-coupon.ts +3 -1
- package/src/funcs/coupons-update-coupon.ts +3 -1
- package/src/funcs/credit-notes-create-credit-note.ts +3 -1
- package/src/funcs/credit-notes-process-credit-note.ts +3 -1
- package/src/funcs/credit-notes-void-credit-note.ts +3 -1
- package/src/funcs/{entity-integration-mappings-create-entity-integration-mapping.ts → integrations-link-integration-mapping.ts} +14 -17
- package/src/funcs/{integrations-list-linked-integrations.ts → scheduled-tasks-schedule-draft-finalization.ts} +12 -11
- package/src/lib/config.ts +3 -3
- package/src/lib/security.ts +14 -2
- package/src/sdk/integrations.ts +8 -62
- package/src/sdk/models/dto-create-customer-request.ts +0 -16
- package/src/sdk/models/dto-customer-response.ts +8 -0
- package/src/sdk/models/dto-invoice-response.ts +6 -0
- package/src/sdk/models/dto-link-integration-mapping-request.ts +59 -0
- package/src/sdk/models/dto-link-integration-mapping-response.ts +35 -0
- package/src/sdk/models/dto-update-customer-request.ts +0 -16
- package/src/sdk/models/index.ts +4 -8
- package/src/sdk/models/invoice-status.ts +1 -0
- package/src/sdk/models/schedule-draft-finalization-op.ts +29 -0
- package/src/sdk/models/scheduled-task-interval.ts +1 -0
- package/src/sdk/models/secret-provider.ts +0 -5
- package/src/sdk/models/webhook-dto-alert-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-communication-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-credit-note-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-customer-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-entitlement-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-feature-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-invoice-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-payment-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-subscription-phase-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-subscription-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-transaction-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-dto-wallet-webhook-payload.ts +6 -2
- package/src/sdk/models/webhook-event-name.ts +60 -0
- package/src/sdk/scheduled-tasks.ts +16 -0
- package/src/sdk/sdk.ts +5 -13
- package/docs/sdk/models/create-or-update-integration-request.md +0 -26
- package/docs/sdk/models/delete-entity-integration-mapping-request.md +0 -17
- package/docs/sdk/models/delete-integration-request.md +0 -17
- package/docs/sdk/models/dto-create-integration-request.md +0 -21
- package/docs/sdk/models/dto-integration-entity-mapping.md +0 -21
- package/docs/sdk/models/dto-linked-integrations-response.md +0 -15
- package/docs/sdk/models/get-integration-request.md +0 -17
- package/docs/sdk/models/provider.md +0 -17
- package/docs/sdks/entityintegrationmappings/README.md +0 -160
- package/esm/funcs/entity-integration-mappings-create-entity-integration-mapping.d.ts +0 -17
- package/esm/funcs/entity-integration-mappings-create-entity-integration-mapping.d.ts.map +0 -1
- package/esm/funcs/entity-integration-mappings-create-entity-integration-mapping.js.map +0 -1
- package/esm/funcs/entity-integration-mappings-delete-entity-integration-mapping.d.ts +0 -17
- package/esm/funcs/entity-integration-mappings-delete-entity-integration-mapping.d.ts.map +0 -1
- package/esm/funcs/entity-integration-mappings-delete-entity-integration-mapping.js +0 -90
- package/esm/funcs/entity-integration-mappings-delete-entity-integration-mapping.js.map +0 -1
- package/esm/funcs/integrations-create-or-update-integration.d.ts +0 -17
- package/esm/funcs/integrations-create-or-update-integration.d.ts.map +0 -1
- package/esm/funcs/integrations-create-or-update-integration.js +0 -92
- package/esm/funcs/integrations-create-or-update-integration.js.map +0 -1
- package/esm/funcs/integrations-delete-integration.d.ts +0 -17
- package/esm/funcs/integrations-delete-integration.d.ts.map +0 -1
- package/esm/funcs/integrations-delete-integration.js +0 -90
- package/esm/funcs/integrations-delete-integration.js.map +0 -1
- package/esm/funcs/integrations-get-integration.d.ts.map +0 -1
- package/esm/funcs/integrations-get-integration.js +0 -90
- package/esm/funcs/integrations-get-integration.js.map +0 -1
- package/esm/funcs/integrations-list-linked-integrations.d.ts +0 -17
- package/esm/funcs/integrations-list-linked-integrations.d.ts.map +0 -1
- package/esm/funcs/integrations-list-linked-integrations.js.map +0 -1
- package/esm/sdk/entity-integration-mappings.d.ts +0 -19
- package/esm/sdk/entity-integration-mappings.d.ts.map +0 -1
- package/esm/sdk/entity-integration-mappings.js +0 -28
- package/esm/sdk/entity-integration-mappings.js.map +0 -1
- package/esm/sdk/models/create-or-update-integration-op.d.ts +0 -21
- package/esm/sdk/models/create-or-update-integration-op.d.ts.map +0 -1
- package/esm/sdk/models/create-or-update-integration-op.js +0 -14
- package/esm/sdk/models/create-or-update-integration-op.js.map +0 -1
- package/esm/sdk/models/delete-entity-integration-mapping-op.d.ts +0 -15
- package/esm/sdk/models/delete-entity-integration-mapping-op.d.ts.map +0 -1
- package/esm/sdk/models/delete-entity-integration-mapping-op.js +0 -12
- package/esm/sdk/models/delete-entity-integration-mapping-op.js.map +0 -1
- package/esm/sdk/models/delete-integration-op.d.ts +0 -15
- package/esm/sdk/models/delete-integration-op.d.ts.map +0 -1
- package/esm/sdk/models/delete-integration-op.js +0 -12
- package/esm/sdk/models/delete-integration-op.js.map +0 -1
- package/esm/sdk/models/dto-create-entity-integration-mapping-request.d.ts +0 -25
- package/esm/sdk/models/dto-create-entity-integration-mapping-request.d.ts.map +0 -1
- package/esm/sdk/models/dto-create-entity-integration-mapping-request.js.map +0 -1
- package/esm/sdk/models/dto-create-integration-request.d.ts +0 -21
- package/esm/sdk/models/dto-create-integration-request.d.ts.map +0 -1
- package/esm/sdk/models/dto-create-integration-request.js +0 -15
- package/esm/sdk/models/dto-create-integration-request.js.map +0 -1
- package/esm/sdk/models/dto-integration-entity-mapping.d.ts +0 -38
- package/esm/sdk/models/dto-integration-entity-mapping.d.ts.map +0 -1
- package/esm/sdk/models/dto-integration-entity-mapping.js +0 -23
- package/esm/sdk/models/dto-integration-entity-mapping.js.map +0 -1
- package/esm/sdk/models/dto-linked-integrations-response.d.ts +0 -10
- package/esm/sdk/models/dto-linked-integrations-response.d.ts.map +0 -1
- package/esm/sdk/models/dto-linked-integrations-response.js +0 -14
- package/esm/sdk/models/dto-linked-integrations-response.js.map +0 -1
- package/esm/sdk/models/get-integration-op.d.ts +0 -15
- package/esm/sdk/models/get-integration-op.d.ts.map +0 -1
- package/esm/sdk/models/get-integration-op.js +0 -12
- package/esm/sdk/models/get-integration-op.js.map +0 -1
- package/src/funcs/entity-integration-mappings-delete-entity-integration-mapping.ts +0 -183
- package/src/funcs/integrations-create-or-update-integration.ts +0 -187
- package/src/funcs/integrations-delete-integration.ts +0 -179
- package/src/funcs/integrations-get-integration.ts +0 -181
- package/src/sdk/entity-integration-mappings.ts +0 -45
- package/src/sdk/models/create-or-update-integration-op.ts +0 -46
- package/src/sdk/models/delete-entity-integration-mapping-op.ts +0 -36
- package/src/sdk/models/delete-integration-op.ts +0 -33
- package/src/sdk/models/dto-create-entity-integration-mapping-request.ts +0 -61
- package/src/sdk/models/dto-create-integration-request.ts +0 -42
- package/src/sdk/models/dto-integration-entity-mapping.ts +0 -63
- package/src/sdk/models/dto-linked-integrations-response.ts +0 -31
- package/src/sdk/models/get-integration-op.ts +0 -33
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
# EntityIntegrationMappings
|
|
2
|
-
|
|
3
|
-
## Overview
|
|
4
|
-
|
|
5
|
-
### Available Operations
|
|
6
|
-
|
|
7
|
-
* [createEntityIntegrationMapping](#createentityintegrationmapping) - Create entity integration mapping
|
|
8
|
-
* [deleteEntityIntegrationMapping](#deleteentityintegrationmapping) - Delete entity integration mapping
|
|
9
|
-
|
|
10
|
-
## createEntityIntegrationMapping
|
|
11
|
-
|
|
12
|
-
Use when linking a FlexPrice entity to an external system (e.g. CRM or payment provider) so you can sync or reconcile by external ID.
|
|
13
|
-
|
|
14
|
-
### Example Usage
|
|
15
|
-
|
|
16
|
-
<!-- UsageSnippet language="typescript" operationID="createEntityIntegrationMapping" method="post" path="/entity-integration-mappings" -->
|
|
17
|
-
```typescript
|
|
18
|
-
import { Flexprice } from "@flexprice/sdk";
|
|
19
|
-
|
|
20
|
-
const flexprice = new Flexprice({
|
|
21
|
-
apiKeyAuth: "<YOUR_API_KEY_HERE>",
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
async function run() {
|
|
25
|
-
const result = await flexprice.entityIntegrationMappings.createEntityIntegrationMapping({
|
|
26
|
-
entityId: "<id>",
|
|
27
|
-
entityType: "credit_note",
|
|
28
|
-
providerEntityId: "<id>",
|
|
29
|
-
providerType: "<value>",
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
console.log(result);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
run();
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### Standalone function
|
|
39
|
-
|
|
40
|
-
The standalone function version of this method:
|
|
41
|
-
|
|
42
|
-
```typescript
|
|
43
|
-
import { FlexpriceCore } from "@flexprice/sdk/core.js";
|
|
44
|
-
import { entityIntegrationMappingsCreateEntityIntegrationMapping } from "@flexprice/sdk/funcs/entity-integration-mappings-create-entity-integration-mapping.js";
|
|
45
|
-
|
|
46
|
-
// Use `FlexpriceCore` for best tree-shaking performance.
|
|
47
|
-
// You can create one instance of it to use across an application.
|
|
48
|
-
const flexprice = new FlexpriceCore({
|
|
49
|
-
apiKeyAuth: "<YOUR_API_KEY_HERE>",
|
|
50
|
-
});
|
|
51
|
-
|
|
52
|
-
async function run() {
|
|
53
|
-
const res = await entityIntegrationMappingsCreateEntityIntegrationMapping(flexprice, {
|
|
54
|
-
entityId: "<id>",
|
|
55
|
-
entityType: "credit_note",
|
|
56
|
-
providerEntityId: "<id>",
|
|
57
|
-
providerType: "<value>",
|
|
58
|
-
});
|
|
59
|
-
if (res.ok) {
|
|
60
|
-
const { value: result } = res;
|
|
61
|
-
console.log(result);
|
|
62
|
-
} else {
|
|
63
|
-
console.log("entityIntegrationMappingsCreateEntityIntegrationMapping failed:", res.error);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
run();
|
|
68
|
-
```
|
|
69
|
-
|
|
70
|
-
### Parameters
|
|
71
|
-
|
|
72
|
-
| Parameter | Type | Required | Description |
|
|
73
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
74
|
-
| `request` | [models.DtoCreateEntityIntegrationMappingRequest](../../sdk/models/dto-create-entity-integration-mapping-request.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
75
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
76
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
77
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
78
|
-
|
|
79
|
-
### Response
|
|
80
|
-
|
|
81
|
-
**Promise\<[models.DtoEntityIntegrationMappingResponse](../../sdk/models/dto-entity-integration-mapping-response.md)\>**
|
|
82
|
-
|
|
83
|
-
### Errors
|
|
84
|
-
|
|
85
|
-
| Error Type | Status Code | Content Type |
|
|
86
|
-
| -------------------------------- | -------------------------------- | -------------------------------- |
|
|
87
|
-
| models.ErrorsErrorsErrorResponse | 400, 401, 409 | application/json |
|
|
88
|
-
| models.ErrorsErrorsErrorResponse | 500 | application/json |
|
|
89
|
-
| models.SDKError | 4XX, 5XX | \*/\* |
|
|
90
|
-
|
|
91
|
-
## deleteEntityIntegrationMapping
|
|
92
|
-
|
|
93
|
-
Use when unlinking a FlexPrice entity from an external system or cleaning up stale integration mappings.
|
|
94
|
-
|
|
95
|
-
### Example Usage
|
|
96
|
-
|
|
97
|
-
<!-- UsageSnippet language="typescript" operationID="deleteEntityIntegrationMapping" method="delete" path="/entity-integration-mappings/{id}" -->
|
|
98
|
-
```typescript
|
|
99
|
-
import { Flexprice } from "@flexprice/sdk";
|
|
100
|
-
|
|
101
|
-
const flexprice = new Flexprice({
|
|
102
|
-
apiKeyAuth: "<YOUR_API_KEY_HERE>",
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
async function run() {
|
|
106
|
-
await flexprice.entityIntegrationMappings.deleteEntityIntegrationMapping("<id>");
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
run();
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
### Standalone function
|
|
115
|
-
|
|
116
|
-
The standalone function version of this method:
|
|
117
|
-
|
|
118
|
-
```typescript
|
|
119
|
-
import { FlexpriceCore } from "@flexprice/sdk/core.js";
|
|
120
|
-
import { entityIntegrationMappingsDeleteEntityIntegrationMapping } from "@flexprice/sdk/funcs/entity-integration-mappings-delete-entity-integration-mapping.js";
|
|
121
|
-
|
|
122
|
-
// Use `FlexpriceCore` for best tree-shaking performance.
|
|
123
|
-
// You can create one instance of it to use across an application.
|
|
124
|
-
const flexprice = new FlexpriceCore({
|
|
125
|
-
apiKeyAuth: "<YOUR_API_KEY_HERE>",
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
async function run() {
|
|
129
|
-
const res = await entityIntegrationMappingsDeleteEntityIntegrationMapping(flexprice, "<id>");
|
|
130
|
-
if (res.ok) {
|
|
131
|
-
const { value: result } = res;
|
|
132
|
-
|
|
133
|
-
} else {
|
|
134
|
-
console.log("entityIntegrationMappingsDeleteEntityIntegrationMapping failed:", res.error);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
run();
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Parameters
|
|
142
|
-
|
|
143
|
-
| Parameter | Type | Required | Description |
|
|
144
|
-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
145
|
-
| `id` | *string* | :heavy_check_mark: | Entity integration mapping ID |
|
|
146
|
-
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
147
|
-
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
148
|
-
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
149
|
-
|
|
150
|
-
### Response
|
|
151
|
-
|
|
152
|
-
**Promise\<void\>**
|
|
153
|
-
|
|
154
|
-
### Errors
|
|
155
|
-
|
|
156
|
-
| Error Type | Status Code | Content Type |
|
|
157
|
-
| -------------------------------- | -------------------------------- | -------------------------------- |
|
|
158
|
-
| models.ErrorsErrorsErrorResponse | 400, 401, 404 | application/json |
|
|
159
|
-
| models.ErrorsErrorsErrorResponse | 500 | application/json |
|
|
160
|
-
| models.SDKError | 4XX, 5XX | \*/\* |
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FlexpriceCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { FlexPriceError } from "../sdk/models/flex-price-error.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js";
|
|
5
|
-
import * as models from "../sdk/models/index.js";
|
|
6
|
-
import { ResponseValidationError } from "../sdk/models/response-validation-error.js";
|
|
7
|
-
import { SDKValidationError } from "../sdk/models/sdk-validation-error.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
/**
|
|
11
|
-
* Create entity integration mapping
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Use when linking a FlexPrice entity to an external system (e.g. CRM or payment provider) so you can sync or reconcile by external ID.
|
|
15
|
-
*/
|
|
16
|
-
export declare function entityIntegrationMappingsCreateEntityIntegrationMapping(client: FlexpriceCore, request: models.DtoCreateEntityIntegrationMappingRequest, options?: RequestOptions): APIPromise<Result<models.DtoEntityIntegrationMappingResponse, models.ErrorsErrorsErrorResponse | FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
-
//# sourceMappingURL=entity-integration-mappings-create-entity-integration-mapping.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-integration-mappings-create-entity-integration-mapping.d.ts","sourceRoot":"","sources":["../../src/funcs/entity-integration-mappings-create-entity-integration-mapping.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,uDAAuD,CACrE,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,MAAM,CAAC,wCAAwC,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,mCAAmC,EACxC,MAAM,CAAC,yBAAyB,GAChC,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-integration-mappings-create-entity-integration-mapping.js","sourceRoot":"","sources":["../../src/funcs/entity-integration-mappings-create-entity-integration-mapping.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,uDAAuD,CACrE,MAAqB,EACrB,OAAwD,EACxD,OAAwB,EAcxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,OAAwD,EACxD,OAAwB,EAiBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CACR,CAAC,CAAC,KAAK,CACL,MAAM,CAAC,uDAAuD,EAC9D,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IAC7B,MAAM,IAAI,GAAG,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,EAAE,OAAO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AAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FlexpriceCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { FlexPriceError } from "../sdk/models/flex-price-error.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js";
|
|
5
|
-
import * as models from "../sdk/models/index.js";
|
|
6
|
-
import { ResponseValidationError } from "../sdk/models/response-validation-error.js";
|
|
7
|
-
import { SDKValidationError } from "../sdk/models/sdk-validation-error.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
/**
|
|
11
|
-
* Delete entity integration mapping
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Use when unlinking a FlexPrice entity from an external system or cleaning up stale integration mappings.
|
|
15
|
-
*/
|
|
16
|
-
export declare function entityIntegrationMappingsDeleteEntityIntegrationMapping(client: FlexpriceCore, id: string, options?: RequestOptions): APIPromise<Result<void, models.ErrorsErrorsErrorResponse | FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
-
//# sourceMappingURL=entity-integration-mappings-delete-entity-integration-mapping.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-integration-mappings-delete-entity-integration-mapping.d.ts","sourceRoot":"","sources":["../../src/funcs/entity-integration-mappings-delete-entity-integration-mapping.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,uDAAuD,CACrE,MAAM,EAAE,aAAa,EACrB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,IAAI,EACF,MAAM,CAAC,yBAAyB,GAChC,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeSimple } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as models from "../sdk/models/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
/**
|
|
14
|
-
* Delete entity integration mapping
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* Use when unlinking a FlexPrice entity from an external system or cleaning up stale integration mappings.
|
|
18
|
-
*/
|
|
19
|
-
export function entityIntegrationMappingsDeleteEntityIntegrationMapping(client, id, options) {
|
|
20
|
-
return new APIPromise($do(client, id, options));
|
|
21
|
-
}
|
|
22
|
-
async function $do(client, id, options) {
|
|
23
|
-
const input = {
|
|
24
|
-
id: id,
|
|
25
|
-
};
|
|
26
|
-
const parsed = safeParse(input, (value) => z.parse(models.DeleteEntityIntegrationMappingRequest$outboundSchema, value), "Input validation failed");
|
|
27
|
-
if (!parsed.ok) {
|
|
28
|
-
return [parsed, { status: "invalid" }];
|
|
29
|
-
}
|
|
30
|
-
const payload = parsed.value;
|
|
31
|
-
const body = null;
|
|
32
|
-
const pathParams = {
|
|
33
|
-
id: encodeSimple("id", payload.id, {
|
|
34
|
-
explode: false,
|
|
35
|
-
charEncoding: "percent",
|
|
36
|
-
}),
|
|
37
|
-
};
|
|
38
|
-
const path = pathToFunc("/entity-integration-mappings/{id}")(pathParams);
|
|
39
|
-
const headers = new Headers(compactMap({
|
|
40
|
-
Accept: "application/json",
|
|
41
|
-
}));
|
|
42
|
-
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
43
|
-
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45
|
-
const context = {
|
|
46
|
-
options: client._options,
|
|
47
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48
|
-
operationID: "deleteEntityIntegrationMapping",
|
|
49
|
-
oAuth2Scopes: null,
|
|
50
|
-
resolvedSecurity: requestSecurity,
|
|
51
|
-
securitySource: client._options.apiKeyAuth,
|
|
52
|
-
retryConfig: options?.retries
|
|
53
|
-
|| client._options.retryConfig
|
|
54
|
-
|| { strategy: "none" },
|
|
55
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
56
|
-
};
|
|
57
|
-
const requestRes = client._createRequest(context, {
|
|
58
|
-
security: requestSecurity,
|
|
59
|
-
method: "DELETE",
|
|
60
|
-
baseURL: options?.serverURL,
|
|
61
|
-
path: path,
|
|
62
|
-
headers: headers,
|
|
63
|
-
body: body,
|
|
64
|
-
userAgent: client._options.userAgent,
|
|
65
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
66
|
-
}, options);
|
|
67
|
-
if (!requestRes.ok) {
|
|
68
|
-
return [requestRes, { status: "invalid" }];
|
|
69
|
-
}
|
|
70
|
-
const req = requestRes.value;
|
|
71
|
-
const doResult = await client._do(req, {
|
|
72
|
-
context,
|
|
73
|
-
errorCodes: ["400", "401", "404", "4XX", "500", "5XX"],
|
|
74
|
-
retryConfig: context.retryConfig,
|
|
75
|
-
retryCodes: context.retryCodes,
|
|
76
|
-
});
|
|
77
|
-
if (!doResult.ok) {
|
|
78
|
-
return [doResult, { status: "request-error", request: req }];
|
|
79
|
-
}
|
|
80
|
-
const response = doResult.value;
|
|
81
|
-
const responseFields = {
|
|
82
|
-
HttpMeta: { Response: response, Request: req },
|
|
83
|
-
};
|
|
84
|
-
const [result] = await M.match(M.nil(204, z.void()), M.jsonErr([400, 401, 404], models.ErrorsErrorsErrorResponse$inboundSchema), M.jsonErr(500, models.ErrorsErrorsErrorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
85
|
-
if (!result.ok) {
|
|
86
|
-
return [result, { status: "complete", request: req, response }];
|
|
87
|
-
}
|
|
88
|
-
return [result, { status: "complete", request: req, response }];
|
|
89
|
-
}
|
|
90
|
-
//# sourceMappingURL=entity-integration-mappings-delete-entity-integration-mapping.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"entity-integration-mappings-delete-entity-integration-mapping.js","sourceRoot":"","sources":["../../src/funcs/entity-integration-mappings-delete-entity-integration-mapping.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,uDAAuD,CACrE,MAAqB,EACrB,EAAU,EACV,OAAwB,EAcxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,EAAE,EACF,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAqB,EACrB,EAAU,EACV,OAAwB,EAiBxB;IACA,MAAM,KAAK,GAAiD;QAC1D,EAAE,EAAE,EAAE;KACP,CAAC;IAEF,MAAM,MAAM,GAAG,SAAS,CACtB,KAAK,EACL,CAAC,KAAK,EAAE,EAAE,CACR,CAAC,CAAC,KAAK,CACL,MAAM,CAAC,oDAAoD,EAC3D,KAAK,CACN,EACH,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,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AAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAY5B,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,EACpB,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAE,MAAM,CAAC,uCAAuC,CAAC,EAC1E,CAAC,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,CAAC,uCAAuC,CAAC,EAC9D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,EAAE,EAAE,WAAW,EAAE,cAAc,EAAE,CAAC,CAAC;IAClD,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FlexpriceCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { FlexPriceError } from "../sdk/models/flex-price-error.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js";
|
|
5
|
-
import * as models from "../sdk/models/index.js";
|
|
6
|
-
import { ResponseValidationError } from "../sdk/models/response-validation-error.js";
|
|
7
|
-
import { SDKValidationError } from "../sdk/models/sdk-validation-error.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
/**
|
|
11
|
-
* Create or update an integration
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Use when storing or updating credentials for an external integration (e.g. Stripe, HubSpot). Secrets are encrypted at rest.
|
|
15
|
-
*/
|
|
16
|
-
export declare function integrationsCreateOrUpdateIntegration(client: FlexpriceCore, provider: string, body: models.DtoCreateIntegrationRequest, options?: RequestOptions): APIPromise<Result<models.DtoSecretResponse, models.ErrorsErrorsErrorResponse | FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
-
//# sourceMappingURL=integrations-create-or-update-integration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integrations-create-or-update-integration.d.ts","sourceRoot":"","sources":["../../src/funcs/integrations-create-or-update-integration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,qCAAqC,CACnD,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,2BAA2B,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,iBAAiB,EACtB,MAAM,CAAC,yBAAyB,GAChC,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAOA"}
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as models from "../sdk/models/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
/**
|
|
14
|
-
* Create or update an integration
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* Use when storing or updating credentials for an external integration (e.g. Stripe, HubSpot). Secrets are encrypted at rest.
|
|
18
|
-
*/
|
|
19
|
-
export function integrationsCreateOrUpdateIntegration(client, provider, body, options) {
|
|
20
|
-
return new APIPromise($do(client, provider, body, options));
|
|
21
|
-
}
|
|
22
|
-
async function $do(client, provider, body, options) {
|
|
23
|
-
const input = {
|
|
24
|
-
provider: provider,
|
|
25
|
-
body: body,
|
|
26
|
-
};
|
|
27
|
-
const parsed = safeParse(input, (value) => z.parse(models.CreateOrUpdateIntegrationRequest$outboundSchema, value), "Input validation failed");
|
|
28
|
-
if (!parsed.ok) {
|
|
29
|
-
return [parsed, { status: "invalid" }];
|
|
30
|
-
}
|
|
31
|
-
const payload = parsed.value;
|
|
32
|
-
const body$ = encodeJSON("body", payload.body, { explode: true });
|
|
33
|
-
const pathParams = {
|
|
34
|
-
provider: encodeSimple("provider", payload.provider, {
|
|
35
|
-
explode: false,
|
|
36
|
-
charEncoding: "percent",
|
|
37
|
-
}),
|
|
38
|
-
};
|
|
39
|
-
const path = pathToFunc("/secrets/integrations/create/{provider}")(pathParams);
|
|
40
|
-
const headers = new Headers(compactMap({
|
|
41
|
-
"Content-Type": "application/json",
|
|
42
|
-
Accept: "application/json",
|
|
43
|
-
}));
|
|
44
|
-
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
45
|
-
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
46
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
47
|
-
const context = {
|
|
48
|
-
options: client._options,
|
|
49
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
50
|
-
operationID: "createOrUpdateIntegration",
|
|
51
|
-
oAuth2Scopes: null,
|
|
52
|
-
resolvedSecurity: requestSecurity,
|
|
53
|
-
securitySource: client._options.apiKeyAuth,
|
|
54
|
-
retryConfig: options?.retries
|
|
55
|
-
|| client._options.retryConfig
|
|
56
|
-
|| { strategy: "none" },
|
|
57
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
58
|
-
};
|
|
59
|
-
const requestRes = client._createRequest(context, {
|
|
60
|
-
security: requestSecurity,
|
|
61
|
-
method: "POST",
|
|
62
|
-
baseURL: options?.serverURL,
|
|
63
|
-
path: path,
|
|
64
|
-
headers: headers,
|
|
65
|
-
body: body$,
|
|
66
|
-
userAgent: client._options.userAgent,
|
|
67
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
68
|
-
}, options);
|
|
69
|
-
if (!requestRes.ok) {
|
|
70
|
-
return [requestRes, { status: "invalid" }];
|
|
71
|
-
}
|
|
72
|
-
const req = requestRes.value;
|
|
73
|
-
const doResult = await client._do(req, {
|
|
74
|
-
context,
|
|
75
|
-
errorCodes: ["400", "4XX", "500", "5XX"],
|
|
76
|
-
retryConfig: context.retryConfig,
|
|
77
|
-
retryCodes: context.retryCodes,
|
|
78
|
-
});
|
|
79
|
-
if (!doResult.ok) {
|
|
80
|
-
return [doResult, { status: "request-error", request: req }];
|
|
81
|
-
}
|
|
82
|
-
const response = doResult.value;
|
|
83
|
-
const responseFields = {
|
|
84
|
-
HttpMeta: { Response: response, Request: req },
|
|
85
|
-
};
|
|
86
|
-
const [result] = await M.match(M.json(201, models.DtoSecretResponse$inboundSchema), M.jsonErr(400, models.ErrorsErrorsErrorResponse$inboundSchema), M.jsonErr(500, models.ErrorsErrorsErrorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
87
|
-
if (!result.ok) {
|
|
88
|
-
return [result, { status: "complete", request: req, response }];
|
|
89
|
-
}
|
|
90
|
-
return [result, { status: "complete", request: req, response }];
|
|
91
|
-
}
|
|
92
|
-
//# sourceMappingURL=integrations-create-or-update-integration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integrations-create-or-update-integration.js","sourceRoot":"","sources":["../../src/funcs/integrations-create-or-update-integration.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAS3C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AAGjD,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD;;;;;GAKG;AACH,MAAM,UAAU,qCAAqC,CACnD,MAAqB,EACrB,QAAgB,EAChB,IAAwC,EACxC,OAA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,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { FlexpriceCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { FlexPriceError } from "../sdk/models/flex-price-error.js";
|
|
4
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/http-client-errors.js";
|
|
5
|
-
import * as models from "../sdk/models/index.js";
|
|
6
|
-
import { ResponseValidationError } from "../sdk/models/response-validation-error.js";
|
|
7
|
-
import { SDKValidationError } from "../sdk/models/sdk-validation-error.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
/**
|
|
11
|
-
* Delete an integration
|
|
12
|
-
*
|
|
13
|
-
* @remarks
|
|
14
|
-
* Use when disconnecting an integration (e.g. switching provider or removing OAuth). Deletes stored credentials.
|
|
15
|
-
*/
|
|
16
|
-
export declare function integrationsDeleteIntegration(client: FlexpriceCore, id: string, options?: RequestOptions): APIPromise<Result<void, models.ErrorsErrorsErrorResponse | FlexPriceError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
17
|
-
//# sourceMappingURL=integrations-delete-integration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integrations-delete-integration.d.ts","sourceRoot":"","sources":["../../src/funcs/integrations-delete-integration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAC3C,MAAM,EAAE,aAAa,EACrB,EAAE,EAAE,MAAM,EACV,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,IAAI,EACF,MAAM,CAAC,yBAAyB,GAChC,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeSimple } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as models from "../sdk/models/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
/**
|
|
14
|
-
* Delete an integration
|
|
15
|
-
*
|
|
16
|
-
* @remarks
|
|
17
|
-
* Use when disconnecting an integration (e.g. switching provider or removing OAuth). Deletes stored credentials.
|
|
18
|
-
*/
|
|
19
|
-
export function integrationsDeleteIntegration(client, id, options) {
|
|
20
|
-
return new APIPromise($do(client, id, options));
|
|
21
|
-
}
|
|
22
|
-
async function $do(client, id, options) {
|
|
23
|
-
const input = {
|
|
24
|
-
id: id,
|
|
25
|
-
};
|
|
26
|
-
const parsed = safeParse(input, (value) => z.parse(models.DeleteIntegrationRequest$outboundSchema, value), "Input validation failed");
|
|
27
|
-
if (!parsed.ok) {
|
|
28
|
-
return [parsed, { status: "invalid" }];
|
|
29
|
-
}
|
|
30
|
-
const payload = parsed.value;
|
|
31
|
-
const body = null;
|
|
32
|
-
const pathParams = {
|
|
33
|
-
id: encodeSimple("id", payload.id, {
|
|
34
|
-
explode: false,
|
|
35
|
-
charEncoding: "percent",
|
|
36
|
-
}),
|
|
37
|
-
};
|
|
38
|
-
const path = pathToFunc("/secrets/integrations/{id}")(pathParams);
|
|
39
|
-
const headers = new Headers(compactMap({
|
|
40
|
-
Accept: "application/json",
|
|
41
|
-
}));
|
|
42
|
-
const secConfig = await extractSecurity(client._options.apiKeyAuth);
|
|
43
|
-
const securityInput = secConfig == null ? {} : { apiKeyAuth: secConfig };
|
|
44
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
45
|
-
const context = {
|
|
46
|
-
options: client._options,
|
|
47
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
48
|
-
operationID: "deleteIntegration",
|
|
49
|
-
oAuth2Scopes: null,
|
|
50
|
-
resolvedSecurity: requestSecurity,
|
|
51
|
-
securitySource: client._options.apiKeyAuth,
|
|
52
|
-
retryConfig: options?.retries
|
|
53
|
-
|| client._options.retryConfig
|
|
54
|
-
|| { strategy: "none" },
|
|
55
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
56
|
-
};
|
|
57
|
-
const requestRes = client._createRequest(context, {
|
|
58
|
-
security: requestSecurity,
|
|
59
|
-
method: "DELETE",
|
|
60
|
-
baseURL: options?.serverURL,
|
|
61
|
-
path: path,
|
|
62
|
-
headers: headers,
|
|
63
|
-
body: body,
|
|
64
|
-
userAgent: client._options.userAgent,
|
|
65
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
66
|
-
}, options);
|
|
67
|
-
if (!requestRes.ok) {
|
|
68
|
-
return [requestRes, { status: "invalid" }];
|
|
69
|
-
}
|
|
70
|
-
const req = requestRes.value;
|
|
71
|
-
const doResult = await client._do(req, {
|
|
72
|
-
context,
|
|
73
|
-
errorCodes: ["404", "4XX", "500", "5XX"],
|
|
74
|
-
retryConfig: context.retryConfig,
|
|
75
|
-
retryCodes: context.retryCodes,
|
|
76
|
-
});
|
|
77
|
-
if (!doResult.ok) {
|
|
78
|
-
return [doResult, { status: "request-error", request: req }];
|
|
79
|
-
}
|
|
80
|
-
const response = doResult.value;
|
|
81
|
-
const responseFields = {
|
|
82
|
-
HttpMeta: { Response: response, Request: req },
|
|
83
|
-
};
|
|
84
|
-
const [result] = await M.match(M.nil(204, z.void()), M.jsonErr(404, models.ErrorsErrorsErrorResponse$inboundSchema), M.jsonErr(500, models.ErrorsErrorsErrorResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req, { extraFields: responseFields });
|
|
85
|
-
if (!result.ok) {
|
|
86
|
-
return [result, { status: "complete", request: req, response }];
|
|
87
|
-
}
|
|
88
|
-
return [result, { status: "complete", request: req, response }];
|
|
89
|
-
}
|
|
90
|
-
//# sourceMappingURL=integrations-delete-integration.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integrations-delete-integration.js","sourceRoot":"","sources":["../../src/funcs/integrations-delete-integration.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAo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O,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integrations-get-integration.d.ts","sourceRoot":"","sources":["../../src/funcs/integrations-get-integration.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACnE,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC;;;;;GAKG;AACH,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,aAAa,EACrB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,iBAAiB,EACtB,MAAM,CAAC,yBAAyB,GAChC,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|