@epilot/customer-portal-client 0.16.1-rc.2 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/openapi.d.ts CHANGED
@@ -9,6 +9,7 @@ import type {
9
9
 
10
10
  declare namespace Components {
11
11
  namespace Responses {
12
+ export type Conflict = Schemas.ErrorResp;
12
13
  export interface ContractAssignmentConflict {
13
14
  /**
14
15
  * Error message
@@ -249,6 +250,32 @@ declare namespace Components {
249
250
  calendar?: string[];
250
251
  other?: string[];
251
252
  }
253
+ export interface AuthConfig {
254
+ /**
255
+ * AWS Cognito User Pool ID
256
+ * example:
257
+ * eu-central-1_CUEQRNbUb
258
+ */
259
+ user_pool_id: string;
260
+ /**
261
+ * AWS Cognito User Pool Client ID
262
+ * example:
263
+ * 6bsd0jkgoie74k2i8mrhc1vest
264
+ */
265
+ user_pool_client_id: string;
266
+ /**
267
+ * AWS Cognito User Pool Identity Pool ID
268
+ * example:
269
+ * eu-central-1:a63af1f7-ab86-4ab5-a0eb-f461cb37c2b1
270
+ */
271
+ user_pool_identity_pool_id?: string;
272
+ /**
273
+ * Portal ID
274
+ * example:
275
+ * 7h2hwdj7hhjsdcjkq03eidna3ep
276
+ */
277
+ portal_id: string;
278
+ }
252
279
  export interface Balance {
253
280
  /**
254
281
  * Current balance of the customer in cents. (precision 2)
@@ -397,14 +424,7 @@ declare namespace Components {
397
424
  /**
398
425
  * An entity that describes a billing event such as a future installment or a reimbursement back to the customer.
399
426
  */
400
- export type BillingEvent = {
401
- /**
402
- * Amount to be paid in cents in decimal string representation
403
- * example:
404
- * 100.50
405
- */
406
- billing_amount_decimal?: string;
407
- } & (/* An entity that describes a billing event such as a future installment or a reimbursement back to the customer. */ /* An entity that describes an installment billing event. */ InstallmentEvent | /* An entity that describes a reimbursement billing event. */ ReimbursementEvent);
427
+ export type BillingEvent = /* An entity that describes a billing event such as a future installment or a reimbursement back to the customer. */ /* An entity that describes an installment billing event. */ InstallmentEvent | /* An entity that describes a reimbursement billing event. */ ReimbursementEvent;
408
428
  /**
409
429
  * The mapped contact of the portal user
410
430
  */
@@ -451,6 +471,20 @@ declare namespace Components {
451
471
  _updated_at: string; // date-time
452
472
  _schema: "contact";
453
473
  }
474
+ export interface ContactCountRequest {
475
+ /**
476
+ * ID of the organization
477
+ * example:
478
+ * 728
479
+ */
480
+ orgId: string;
481
+ /**
482
+ * Identifiers to identify a contact
483
+ */
484
+ contactIdentifiers: {
485
+ [name: string]: string;
486
+ };
487
+ }
454
488
  export interface ContactExistsRequest {
455
489
  /**
456
490
  * ID of the organization
@@ -809,15 +843,6 @@ declare namespace Components {
809
843
  * 5da0a718-c822-403d-9f5d-20d4584e0528
810
844
  */
811
845
  EntityId /* uuid */;
812
- /**
813
- * ID of the advanced MFA with login link and login code
814
- */
815
- advancedMFA?: /**
816
- * Entity ID
817
- * example:
818
- * 5da0a718-c822-403d-9f5d-20d4584e0528
819
- */
820
- EntityId /* uuid */;
821
846
  /**
822
847
  * ID of the email template for forgot password
823
848
  */
@@ -863,15 +888,6 @@ declare namespace Components {
863
888
  * 5da0a718-c822-403d-9f5d-20d4584e0528
864
889
  */
865
890
  EntityId /* uuid */;
866
- /**
867
- * ID of the email template for workflow step assignment
868
- */
869
- onWorkflowStepAssigned?: /**
870
- * Entity ID
871
- * example:
872
- * 5da0a718-c822-403d-9f5d-20d4584e0528
873
- */
874
- EntityId /* uuid */;
875
891
  }
876
892
  export interface Entity {
877
893
  [name: string]: any;
@@ -1037,6 +1053,23 @@ declare namespace Components {
1037
1053
  */
1038
1054
  message?: string;
1039
1055
  }
1056
+ /**
1057
+ * example:
1058
+ * {
1059
+ * "exists": true,
1060
+ * "active": false
1061
+ * }
1062
+ */
1063
+ export interface Exists {
1064
+ /**
1065
+ * Indicate whether the item exists
1066
+ */
1067
+ exists: boolean;
1068
+ /**
1069
+ * Indicate whether the item is active
1070
+ */
1071
+ active?: boolean;
1072
+ }
1040
1073
  export type ExtraSchemaAttributes = {
1041
1074
  /**
1042
1075
  * Attribute name
@@ -1661,14 +1694,6 @@ declare namespace Components {
1661
1694
  * Billing feature flag
1662
1695
  */
1663
1696
  billing?: boolean;
1664
- /**
1665
- * Change due date feature flag
1666
- */
1667
- change_due_date?: boolean;
1668
- /**
1669
- * Advanced MFA feature flag
1670
- */
1671
- advanced_mfa?: boolean;
1672
1697
  };
1673
1698
  /**
1674
1699
  * AWS Cognito Pool details for the portal
@@ -2300,14 +2325,6 @@ declare namespace Components {
2300
2325
  * Billing feature flag
2301
2326
  */
2302
2327
  billing?: boolean;
2303
- /**
2304
- * Change due date feature flag
2305
- */
2306
- change_due_date?: boolean;
2307
- /**
2308
- * Advanced MFA feature flag
2309
- */
2310
- advanced_mfa?: boolean;
2311
2328
  };
2312
2329
  /**
2313
2330
  * AWS Cognito Pool details for the portal
@@ -3431,7 +3448,7 @@ declare namespace Paths {
3431
3448
  }
3432
3449
  namespace GetExternalLinks {
3433
3450
  namespace Parameters {
3434
- export type ContactId = /**
3451
+ export type ContacID = /**
3435
3452
  * Entity ID
3436
3453
  * example:
3437
3454
  * 5da0a718-c822-403d-9f5d-20d4584e0528
@@ -3441,7 +3458,7 @@ declare namespace Paths {
3441
3458
  }
3442
3459
  export interface QueryParameters {
3443
3460
  origin?: Parameters.Origin;
3444
- contactId?: Parameters.ContactId;
3461
+ contacID?: Parameters.ContacID;
3445
3462
  }
3446
3463
  namespace Responses {
3447
3464
  export type $200 = Components.Schemas.JourneyActions[];