@forteplatforms/sdk 1.0.116 → 1.0.131

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.
Files changed (45) hide show
  1. package/dist/generated/apis/ProjectsServerApi.d.ts +69 -1
  2. package/dist/generated/apis/ProjectsServerApi.js +310 -1
  3. package/dist/generated/models/AdminOverrideContactMethodRequest.d.ts +44 -0
  4. package/dist/generated/models/AdminOverrideContactMethodRequest.js +53 -0
  5. package/dist/generated/models/CreateForteServiceRequest.d.ts +6 -0
  6. package/dist/generated/models/CreateForteServiceRequest.js +2 -0
  7. package/dist/generated/models/CreatePaymentPreviewRequest.d.ts +52 -0
  8. package/dist/generated/models/CreatePaymentPreviewRequest.js +61 -0
  9. package/dist/generated/models/CreatePaymentPreviewResponse.d.ts +70 -0
  10. package/dist/generated/models/CreatePaymentPreviewResponse.js +71 -0
  11. package/dist/generated/models/CreatePaymentRequest.d.ts +66 -0
  12. package/dist/generated/models/CreatePaymentRequest.js +65 -0
  13. package/dist/generated/models/CreatePaymentResponse.d.ts +51 -0
  14. package/dist/generated/models/CreatePaymentResponse.js +64 -0
  15. package/dist/generated/models/ForteApiException.d.ts +22 -2
  16. package/dist/generated/models/ForteApiException.js +23 -3
  17. package/dist/generated/models/NotificationTemplatesConfig.d.ts +80 -0
  18. package/dist/generated/models/NotificationTemplatesConfig.js +65 -0
  19. package/dist/generated/models/NotificationTemplatesResponse.d.ts +39 -0
  20. package/dist/generated/models/NotificationTemplatesResponse.js +52 -0
  21. package/dist/generated/models/PaymentAddress.d.ts +62 -0
  22. package/dist/generated/models/PaymentAddress.js +67 -0
  23. package/dist/generated/models/PaymentLineItem.d.ts +56 -0
  24. package/dist/generated/models/PaymentLineItem.js +63 -0
  25. package/dist/generated/models/PaymentObject.d.ts +162 -0
  26. package/dist/generated/models/PaymentObject.js +123 -0
  27. package/dist/generated/models/ProjectObject.d.ts +19 -0
  28. package/dist/generated/models/ProjectObject.js +7 -0
  29. package/dist/generated/models/ServiceObject.d.ts +1 -1
  30. package/dist/generated/models/ServiceObject.js +1 -3
  31. package/dist/generated/models/StateHistory.d.ts +55 -0
  32. package/dist/generated/models/StateHistory.js +68 -0
  33. package/dist/generated/models/UpdateForteServiceRequest.d.ts +6 -0
  34. package/dist/generated/models/UpdateForteServiceRequest.js +2 -0
  35. package/dist/generated/models/UpdateNotificationTemplatesRequest.d.ts +80 -0
  36. package/dist/generated/models/UpdateNotificationTemplatesRequest.js +65 -0
  37. package/dist/generated/models/UpdateProjectRequest.d.ts +6 -0
  38. package/dist/generated/models/UpdateProjectRequest.js +2 -0
  39. package/dist/generated/models/UserActionLogObject.d.ts +4 -0
  40. package/dist/generated/models/UserActionLogObject.js +5 -1
  41. package/dist/generated/models/UserObject.d.ts +12 -0
  42. package/dist/generated/models/UserObject.js +4 -0
  43. package/dist/generated/models/index.d.ts +12 -0
  44. package/dist/generated/models/index.js +12 -0
  45. package/package.json +1 -1
@@ -0,0 +1,52 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaymentAddress } from './PaymentAddress';
13
+ import type { PaymentLineItem } from './PaymentLineItem';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreatePaymentPreviewRequest
18
+ */
19
+ export interface CreatePaymentPreviewRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof CreatePaymentPreviewRequest
24
+ */
25
+ currency: string;
26
+ /**
27
+ *
28
+ * @type {Array<PaymentLineItem>}
29
+ * @memberof CreatePaymentPreviewRequest
30
+ */
31
+ lineItems: Array<PaymentLineItem>;
32
+ /**
33
+ *
34
+ * @type {PaymentAddress}
35
+ * @memberof CreatePaymentPreviewRequest
36
+ */
37
+ customerAddress?: PaymentAddress;
38
+ /**
39
+ *
40
+ * @type {PaymentAddress}
41
+ * @memberof CreatePaymentPreviewRequest
42
+ */
43
+ shippingAddress?: PaymentAddress;
44
+ }
45
+ /**
46
+ * Check if a given object implements the CreatePaymentPreviewRequest interface.
47
+ */
48
+ export declare function instanceOfCreatePaymentPreviewRequest(value: object): value is CreatePaymentPreviewRequest;
49
+ export declare function CreatePaymentPreviewRequestFromJSON(json: any): CreatePaymentPreviewRequest;
50
+ export declare function CreatePaymentPreviewRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentPreviewRequest;
51
+ export declare function CreatePaymentPreviewRequestToJSON(json: any): CreatePaymentPreviewRequest;
52
+ export declare function CreatePaymentPreviewRequestToJSONTyped(value?: CreatePaymentPreviewRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,61 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreatePaymentPreviewRequest = instanceOfCreatePaymentPreviewRequest;
17
+ exports.CreatePaymentPreviewRequestFromJSON = CreatePaymentPreviewRequestFromJSON;
18
+ exports.CreatePaymentPreviewRequestFromJSONTyped = CreatePaymentPreviewRequestFromJSONTyped;
19
+ exports.CreatePaymentPreviewRequestToJSON = CreatePaymentPreviewRequestToJSON;
20
+ exports.CreatePaymentPreviewRequestToJSONTyped = CreatePaymentPreviewRequestToJSONTyped;
21
+ var PaymentAddress_1 = require("./PaymentAddress");
22
+ var PaymentLineItem_1 = require("./PaymentLineItem");
23
+ /**
24
+ * Check if a given object implements the CreatePaymentPreviewRequest interface.
25
+ */
26
+ function instanceOfCreatePaymentPreviewRequest(value) {
27
+ if (!('currency' in value) || value['currency'] === undefined)
28
+ return false;
29
+ if (!('lineItems' in value) || value['lineItems'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function CreatePaymentPreviewRequestFromJSON(json) {
34
+ return CreatePaymentPreviewRequestFromJSONTyped(json, false);
35
+ }
36
+ function CreatePaymentPreviewRequestFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'currency': json['currency'],
42
+ 'lineItems': (json['lineItems'].map(PaymentLineItem_1.PaymentLineItemFromJSON)),
43
+ 'customerAddress': json['customerAddress'] == null ? undefined : (0, PaymentAddress_1.PaymentAddressFromJSON)(json['customerAddress']),
44
+ 'shippingAddress': json['shippingAddress'] == null ? undefined : (0, PaymentAddress_1.PaymentAddressFromJSON)(json['shippingAddress']),
45
+ };
46
+ }
47
+ function CreatePaymentPreviewRequestToJSON(json) {
48
+ return CreatePaymentPreviewRequestToJSONTyped(json, false);
49
+ }
50
+ function CreatePaymentPreviewRequestToJSONTyped(value, ignoreDiscriminator) {
51
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
52
+ if (value == null) {
53
+ return value;
54
+ }
55
+ return {
56
+ 'currency': value['currency'],
57
+ 'lineItems': (value['lineItems'].map(PaymentLineItem_1.PaymentLineItemToJSON)),
58
+ 'customerAddress': (0, PaymentAddress_1.PaymentAddressToJSON)(value['customerAddress']),
59
+ 'shippingAddress': (0, PaymentAddress_1.PaymentAddressToJSON)(value['shippingAddress']),
60
+ };
61
+ }
@@ -0,0 +1,70 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaymentAddress } from './PaymentAddress';
13
+ import type { PaymentLineItem } from './PaymentLineItem';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreatePaymentPreviewResponse
18
+ */
19
+ export interface CreatePaymentPreviewResponse {
20
+ /**
21
+ *
22
+ * @type {number}
23
+ * @memberof CreatePaymentPreviewResponse
24
+ */
25
+ subtotalCents: number;
26
+ /**
27
+ *
28
+ * @type {number}
29
+ * @memberof CreatePaymentPreviewResponse
30
+ */
31
+ taxCents?: number;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof CreatePaymentPreviewResponse
36
+ */
37
+ amountCents: number;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof CreatePaymentPreviewResponse
42
+ */
43
+ currency: string;
44
+ /**
45
+ *
46
+ * @type {Array<PaymentLineItem>}
47
+ * @memberof CreatePaymentPreviewResponse
48
+ */
49
+ lineItems: Array<PaymentLineItem>;
50
+ /**
51
+ *
52
+ * @type {PaymentAddress}
53
+ * @memberof CreatePaymentPreviewResponse
54
+ */
55
+ customerAddress?: PaymentAddress;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof CreatePaymentPreviewResponse
60
+ */
61
+ stripeTaxCalculationId?: string;
62
+ }
63
+ /**
64
+ * Check if a given object implements the CreatePaymentPreviewResponse interface.
65
+ */
66
+ export declare function instanceOfCreatePaymentPreviewResponse(value: object): value is CreatePaymentPreviewResponse;
67
+ export declare function CreatePaymentPreviewResponseFromJSON(json: any): CreatePaymentPreviewResponse;
68
+ export declare function CreatePaymentPreviewResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentPreviewResponse;
69
+ export declare function CreatePaymentPreviewResponseToJSON(json: any): CreatePaymentPreviewResponse;
70
+ export declare function CreatePaymentPreviewResponseToJSONTyped(value?: CreatePaymentPreviewResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,71 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreatePaymentPreviewResponse = instanceOfCreatePaymentPreviewResponse;
17
+ exports.CreatePaymentPreviewResponseFromJSON = CreatePaymentPreviewResponseFromJSON;
18
+ exports.CreatePaymentPreviewResponseFromJSONTyped = CreatePaymentPreviewResponseFromJSONTyped;
19
+ exports.CreatePaymentPreviewResponseToJSON = CreatePaymentPreviewResponseToJSON;
20
+ exports.CreatePaymentPreviewResponseToJSONTyped = CreatePaymentPreviewResponseToJSONTyped;
21
+ var PaymentAddress_1 = require("./PaymentAddress");
22
+ var PaymentLineItem_1 = require("./PaymentLineItem");
23
+ /**
24
+ * Check if a given object implements the CreatePaymentPreviewResponse interface.
25
+ */
26
+ function instanceOfCreatePaymentPreviewResponse(value) {
27
+ if (!('subtotalCents' in value) || value['subtotalCents'] === undefined)
28
+ return false;
29
+ if (!('amountCents' in value) || value['amountCents'] === undefined)
30
+ return false;
31
+ if (!('currency' in value) || value['currency'] === undefined)
32
+ return false;
33
+ if (!('lineItems' in value) || value['lineItems'] === undefined)
34
+ return false;
35
+ return true;
36
+ }
37
+ function CreatePaymentPreviewResponseFromJSON(json) {
38
+ return CreatePaymentPreviewResponseFromJSONTyped(json, false);
39
+ }
40
+ function CreatePaymentPreviewResponseFromJSONTyped(json, ignoreDiscriminator) {
41
+ if (json == null) {
42
+ return json;
43
+ }
44
+ return {
45
+ 'subtotalCents': json['subtotalCents'],
46
+ 'taxCents': json['taxCents'] == null ? undefined : json['taxCents'],
47
+ 'amountCents': json['amountCents'],
48
+ 'currency': json['currency'],
49
+ 'lineItems': (json['lineItems'].map(PaymentLineItem_1.PaymentLineItemFromJSON)),
50
+ 'customerAddress': json['customerAddress'] == null ? undefined : (0, PaymentAddress_1.PaymentAddressFromJSON)(json['customerAddress']),
51
+ 'stripeTaxCalculationId': json['stripeTaxCalculationId'] == null ? undefined : json['stripeTaxCalculationId'],
52
+ };
53
+ }
54
+ function CreatePaymentPreviewResponseToJSON(json) {
55
+ return CreatePaymentPreviewResponseToJSONTyped(json, false);
56
+ }
57
+ function CreatePaymentPreviewResponseToJSONTyped(value, ignoreDiscriminator) {
58
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'subtotalCents': value['subtotalCents'],
64
+ 'taxCents': value['taxCents'],
65
+ 'amountCents': value['amountCents'],
66
+ 'currency': value['currency'],
67
+ 'lineItems': (value['lineItems'].map(PaymentLineItem_1.PaymentLineItemToJSON)),
68
+ 'customerAddress': (0, PaymentAddress_1.PaymentAddressToJSON)(value['customerAddress']),
69
+ 'stripeTaxCalculationId': value['stripeTaxCalculationId'],
70
+ };
71
+ }
@@ -0,0 +1,66 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaymentAddress } from './PaymentAddress';
13
+ import type { PaymentLineItem } from './PaymentLineItem';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CreatePaymentRequest
18
+ */
19
+ export interface CreatePaymentRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof CreatePaymentRequest
24
+ */
25
+ currency: string;
26
+ /**
27
+ *
28
+ * @type {Array<PaymentLineItem>}
29
+ * @memberof CreatePaymentRequest
30
+ */
31
+ lineItems: Array<PaymentLineItem>;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof CreatePaymentRequest
36
+ */
37
+ description?: string;
38
+ /**
39
+ *
40
+ * @type {{ [key: string]: string; }}
41
+ * @memberof CreatePaymentRequest
42
+ */
43
+ metadata?: {
44
+ [key: string]: string;
45
+ };
46
+ /**
47
+ *
48
+ * @type {PaymentAddress}
49
+ * @memberof CreatePaymentRequest
50
+ */
51
+ customerAddress?: PaymentAddress;
52
+ /**
53
+ *
54
+ * @type {PaymentAddress}
55
+ * @memberof CreatePaymentRequest
56
+ */
57
+ shippingAddress?: PaymentAddress;
58
+ }
59
+ /**
60
+ * Check if a given object implements the CreatePaymentRequest interface.
61
+ */
62
+ export declare function instanceOfCreatePaymentRequest(value: object): value is CreatePaymentRequest;
63
+ export declare function CreatePaymentRequestFromJSON(json: any): CreatePaymentRequest;
64
+ export declare function CreatePaymentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentRequest;
65
+ export declare function CreatePaymentRequestToJSON(json: any): CreatePaymentRequest;
66
+ export declare function CreatePaymentRequestToJSONTyped(value?: CreatePaymentRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,65 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreatePaymentRequest = instanceOfCreatePaymentRequest;
17
+ exports.CreatePaymentRequestFromJSON = CreatePaymentRequestFromJSON;
18
+ exports.CreatePaymentRequestFromJSONTyped = CreatePaymentRequestFromJSONTyped;
19
+ exports.CreatePaymentRequestToJSON = CreatePaymentRequestToJSON;
20
+ exports.CreatePaymentRequestToJSONTyped = CreatePaymentRequestToJSONTyped;
21
+ var PaymentAddress_1 = require("./PaymentAddress");
22
+ var PaymentLineItem_1 = require("./PaymentLineItem");
23
+ /**
24
+ * Check if a given object implements the CreatePaymentRequest interface.
25
+ */
26
+ function instanceOfCreatePaymentRequest(value) {
27
+ if (!('currency' in value) || value['currency'] === undefined)
28
+ return false;
29
+ if (!('lineItems' in value) || value['lineItems'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function CreatePaymentRequestFromJSON(json) {
34
+ return CreatePaymentRequestFromJSONTyped(json, false);
35
+ }
36
+ function CreatePaymentRequestFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'currency': json['currency'],
42
+ 'lineItems': (json['lineItems'].map(PaymentLineItem_1.PaymentLineItemFromJSON)),
43
+ 'description': json['description'] == null ? undefined : json['description'],
44
+ 'metadata': json['metadata'] == null ? undefined : json['metadata'],
45
+ 'customerAddress': json['customerAddress'] == null ? undefined : (0, PaymentAddress_1.PaymentAddressFromJSON)(json['customerAddress']),
46
+ 'shippingAddress': json['shippingAddress'] == null ? undefined : (0, PaymentAddress_1.PaymentAddressFromJSON)(json['shippingAddress']),
47
+ };
48
+ }
49
+ function CreatePaymentRequestToJSON(json) {
50
+ return CreatePaymentRequestToJSONTyped(json, false);
51
+ }
52
+ function CreatePaymentRequestToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'currency': value['currency'],
59
+ 'lineItems': (value['lineItems'].map(PaymentLineItem_1.PaymentLineItemToJSON)),
60
+ 'description': value['description'],
61
+ 'metadata': value['metadata'],
62
+ 'customerAddress': (0, PaymentAddress_1.PaymentAddressToJSON)(value['customerAddress']),
63
+ 'shippingAddress': (0, PaymentAddress_1.PaymentAddressToJSON)(value['shippingAddress']),
64
+ };
65
+ }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * OpenAPI definition
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { PaymentObject } from './PaymentObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreatePaymentResponse
17
+ */
18
+ export interface CreatePaymentResponse {
19
+ /**
20
+ *
21
+ * @type {PaymentObject}
22
+ * @memberof CreatePaymentResponse
23
+ */
24
+ payment: PaymentObject;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof CreatePaymentResponse
29
+ */
30
+ stripeClientSecret: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CreatePaymentResponse
35
+ */
36
+ stripePublishableKey: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof CreatePaymentResponse
41
+ */
42
+ stripeConnectedAccountId: string;
43
+ }
44
+ /**
45
+ * Check if a given object implements the CreatePaymentResponse interface.
46
+ */
47
+ export declare function instanceOfCreatePaymentResponse(value: object): value is CreatePaymentResponse;
48
+ export declare function CreatePaymentResponseFromJSON(json: any): CreatePaymentResponse;
49
+ export declare function CreatePaymentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreatePaymentResponse;
50
+ export declare function CreatePaymentResponseToJSON(json: any): CreatePaymentResponse;
51
+ export declare function CreatePaymentResponseToJSONTyped(value?: CreatePaymentResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * OpenAPI definition
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfCreatePaymentResponse = instanceOfCreatePaymentResponse;
17
+ exports.CreatePaymentResponseFromJSON = CreatePaymentResponseFromJSON;
18
+ exports.CreatePaymentResponseFromJSONTyped = CreatePaymentResponseFromJSONTyped;
19
+ exports.CreatePaymentResponseToJSON = CreatePaymentResponseToJSON;
20
+ exports.CreatePaymentResponseToJSONTyped = CreatePaymentResponseToJSONTyped;
21
+ var PaymentObject_1 = require("./PaymentObject");
22
+ /**
23
+ * Check if a given object implements the CreatePaymentResponse interface.
24
+ */
25
+ function instanceOfCreatePaymentResponse(value) {
26
+ if (!('payment' in value) || value['payment'] === undefined)
27
+ return false;
28
+ if (!('stripeClientSecret' in value) || value['stripeClientSecret'] === undefined)
29
+ return false;
30
+ if (!('stripePublishableKey' in value) || value['stripePublishableKey'] === undefined)
31
+ return false;
32
+ if (!('stripeConnectedAccountId' in value) || value['stripeConnectedAccountId'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function CreatePaymentResponseFromJSON(json) {
37
+ return CreatePaymentResponseFromJSONTyped(json, false);
38
+ }
39
+ function CreatePaymentResponseFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'payment': (0, PaymentObject_1.PaymentObjectFromJSON)(json['payment']),
45
+ 'stripeClientSecret': json['stripeClientSecret'],
46
+ 'stripePublishableKey': json['stripePublishableKey'],
47
+ 'stripeConnectedAccountId': json['stripeConnectedAccountId'],
48
+ };
49
+ }
50
+ function CreatePaymentResponseToJSON(json) {
51
+ return CreatePaymentResponseToJSONTyped(json, false);
52
+ }
53
+ function CreatePaymentResponseToJSONTyped(value, ignoreDiscriminator) {
54
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'payment': (0, PaymentObject_1.PaymentObjectToJSON)(value['payment']),
60
+ 'stripeClientSecret': value['stripeClientSecret'],
61
+ 'stripePublishableKey': value['stripePublishableKey'],
62
+ 'stripeConnectedAccountId': value['stripeConnectedAccountId'],
63
+ };
64
+ }
@@ -26,13 +26,13 @@ export interface ForteApiException {
26
26
  * @type {string}
27
27
  * @memberof ForteApiException
28
28
  */
29
- message?: string;
29
+ forteExceptionType?: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof ForteApiException
34
34
  */
35
- forteExceptionType?: string;
35
+ message?: string;
36
36
  }
37
37
  /**
38
38
  * @export
@@ -63,6 +63,7 @@ export declare const ForteApiExceptionErrorCodeType: {
63
63
  readonly USER_SUSPENDED: "USER_SUSPENDED";
64
64
  readonly USER_NO_VERIFIED_CONTACT_METHODS: "USER_NO_VERIFIED_CONTACT_METHODS";
65
65
  readonly CONTACT_METHOD_NOT_FOUND: "CONTACT_METHOD_NOT_FOUND";
66
+ readonly AMBIGUOUS_CONTACT_METHOD_UPDATE: "AMBIGUOUS_CONTACT_METHOD_UPDATE";
66
67
  readonly CONTACT_METHOD_ALREADY_EXISTS: "CONTACT_METHOD_ALREADY_EXISTS";
67
68
  readonly CONTACT_METHOD_ALREADY_VERIFIED: "CONTACT_METHOD_ALREADY_VERIFIED";
68
69
  readonly CANNOT_DELETE_LAST_VERIFIED_CONTACT_METHOD: "CANNOT_DELETE_LAST_VERIFIED_CONTACT_METHOD";
@@ -71,6 +72,7 @@ export declare const ForteApiExceptionErrorCodeType: {
71
72
  readonly INVALID_ENVIRONMENT_VARIABLE_NAME: "INVALID_ENVIRONMENT_VARIABLE_NAME";
72
73
  readonly INVALID_ENVIRONMENT_VARIABLE_VALUE: "INVALID_ENVIRONMENT_VARIABLE_VALUE";
73
74
  readonly TOO_MANY_ENVIRONMENT_VARIABLES: "TOO_MANY_ENVIRONMENT_VARIABLES";
75
+ readonly SANDBOX_MODE_REQUIRED: "SANDBOX_MODE_REQUIRED";
74
76
  readonly BILLING_NOT_CONFIGURED: "BILLING_NOT_CONFIGURED";
75
77
  readonly SERVICE_QUOTA_EXCEEDED: "SERVICE_QUOTA_EXCEEDED";
76
78
  readonly GOOGLE_OAUTH_NOT_CONFIGURED: "GOOGLE_OAUTH_NOT_CONFIGURED";
@@ -93,6 +95,8 @@ export declare const ForteApiExceptionErrorCodeType: {
93
95
  readonly COMPLIANCE_REGISTRATION_MISSING_REQUIRED_FIELDS: "COMPLIANCE_REGISTRATION_MISSING_REQUIRED_FIELDS";
94
96
  readonly COMPLIANCE_REGISTRATION_INVALID_STATUS_TRANSITION: "COMPLIANCE_REGISTRATION_INVALID_STATUS_TRANSITION";
95
97
  readonly COMPLIANCE_REGISTRATION_PAYMENTS_NOT_CONFIGURED: "COMPLIANCE_REGISTRATION_PAYMENTS_NOT_CONFIGURED";
98
+ readonly COMPLIANCE_REGISTRATION_MISSING_TOS_ACCEPTANCE: "COMPLIANCE_REGISTRATION_MISSING_TOS_ACCEPTANCE";
99
+ readonly COMPLIANCE_REGISTRATION_DOCUMENT_TYPE_NOT_ROUTABLE: "COMPLIANCE_REGISTRATION_DOCUMENT_TYPE_NOT_ROUTABLE";
96
100
  readonly COMPLIANCE_DOCUMENT_NOT_FOUND: "COMPLIANCE_DOCUMENT_NOT_FOUND";
97
101
  readonly COMPLIANCE_DOCUMENT_ALREADY_HAS_CONTENTS: "COMPLIANCE_DOCUMENT_ALREADY_HAS_CONTENTS";
98
102
  readonly COMPLIANCE_DOCUMENT_MISSING_CONTENTS: "COMPLIANCE_DOCUMENT_MISSING_CONTENTS";
@@ -102,12 +106,28 @@ export declare const ForteApiExceptionErrorCodeType: {
102
106
  readonly COMPLIANCE_REGISTRATION_NOT_APPROVED: "COMPLIANCE_REGISTRATION_NOT_APPROVED";
103
107
  readonly EMAIL_LOGIN_NOT_ENABLED: "EMAIL_LOGIN_NOT_ENABLED";
104
108
  readonly PHONE_LOGIN_NOT_ENABLED: "PHONE_LOGIN_NOT_ENABLED";
109
+ readonly GOOGLE_OAUTH_CLIENT_ID_REQUIRED: "GOOGLE_OAUTH_CLIENT_ID_REQUIRED";
110
+ readonly SMS_REGISTRATION_NOT_APPROVED: "SMS_REGISTRATION_NOT_APPROVED";
111
+ readonly SES_TENANT_NOT_VERIFIED: "SES_TENANT_NOT_VERIFIED";
105
112
  readonly MISSING_GITHUB_BRANCH: "MISSING_GITHUB_BRANCH";
106
113
  readonly EXTERNAL_API_ERROR: "EXTERNAL_API_ERROR";
107
114
  readonly PAYMENTS_PROVIDER_REJECTED: "PAYMENTS_PROVIDER_REJECTED";
115
+ readonly PAYMENTS_NOT_CONFIGURED_ON_PROJECT_OWNER: "PAYMENTS_NOT_CONFIGURED_ON_PROJECT_OWNER";
116
+ readonly PAYMENTS_REQUIRE_APPROVED_COMPLIANCE: "PAYMENTS_REQUIRE_APPROVED_COMPLIANCE";
117
+ readonly PAYMENT_LINE_ITEMS_REQUIRED: "PAYMENT_LINE_ITEMS_REQUIRED";
118
+ readonly PAYMENT_AMOUNT_INVALID: "PAYMENT_AMOUNT_INVALID";
119
+ readonly PAYMENT_CURRENCY_INVALID: "PAYMENT_CURRENCY_INVALID";
120
+ readonly PAYMENT_TAX_ADDRESS_INVALID: "PAYMENT_TAX_ADDRESS_INVALID";
121
+ readonly PAYMENT_TAX_CALCULATION_FAILED: "PAYMENT_TAX_CALCULATION_FAILED";
108
122
  readonly EMAIL_CONFIGURATION_INVALID: "EMAIL_CONFIGURATION_INVALID";
109
123
  readonly SES_TENANT_NOT_PROVISIONED: "SES_TENANT_NOT_PROVISIONED";
124
+ readonly INVALID_MAIL_FROM_SUBDOMAIN: "INVALID_MAIL_FROM_SUBDOMAIN";
110
125
  readonly SMS_CONFIGURATION_INVALID: "SMS_CONFIGURATION_INVALID";
126
+ readonly ENCRYPTION_PASSWORD_REQUIRED: "ENCRYPTION_PASSWORD_REQUIRED";
127
+ readonly ENCRYPTION_PASSWORD_TOO_WEAK: "ENCRYPTION_PASSWORD_TOO_WEAK";
128
+ readonly ENCRYPTION_PASSWORD_MISMATCH: "ENCRYPTION_PASSWORD_MISMATCH";
129
+ readonly COMPLIANCE_DOCUMENT_ENCRYPTED: "COMPLIANCE_DOCUMENT_ENCRYPTED";
130
+ readonly NOTIFICATION_TEMPLATE_INVALID: "NOTIFICATION_TEMPLATE_INVALID";
111
131
  };
112
132
  export type ForteApiExceptionErrorCodeType = typeof ForteApiExceptionErrorCodeType[keyof typeof ForteApiExceptionErrorCodeType];
113
133
  /**
@@ -48,6 +48,7 @@ exports.ForteApiExceptionErrorCodeType = {
48
48
  USER_SUSPENDED: 'USER_SUSPENDED',
49
49
  USER_NO_VERIFIED_CONTACT_METHODS: 'USER_NO_VERIFIED_CONTACT_METHODS',
50
50
  CONTACT_METHOD_NOT_FOUND: 'CONTACT_METHOD_NOT_FOUND',
51
+ AMBIGUOUS_CONTACT_METHOD_UPDATE: 'AMBIGUOUS_CONTACT_METHOD_UPDATE',
51
52
  CONTACT_METHOD_ALREADY_EXISTS: 'CONTACT_METHOD_ALREADY_EXISTS',
52
53
  CONTACT_METHOD_ALREADY_VERIFIED: 'CONTACT_METHOD_ALREADY_VERIFIED',
53
54
  CANNOT_DELETE_LAST_VERIFIED_CONTACT_METHOD: 'CANNOT_DELETE_LAST_VERIFIED_CONTACT_METHOD',
@@ -56,6 +57,7 @@ exports.ForteApiExceptionErrorCodeType = {
56
57
  INVALID_ENVIRONMENT_VARIABLE_NAME: 'INVALID_ENVIRONMENT_VARIABLE_NAME',
57
58
  INVALID_ENVIRONMENT_VARIABLE_VALUE: 'INVALID_ENVIRONMENT_VARIABLE_VALUE',
58
59
  TOO_MANY_ENVIRONMENT_VARIABLES: 'TOO_MANY_ENVIRONMENT_VARIABLES',
60
+ SANDBOX_MODE_REQUIRED: 'SANDBOX_MODE_REQUIRED',
59
61
  BILLING_NOT_CONFIGURED: 'BILLING_NOT_CONFIGURED',
60
62
  SERVICE_QUOTA_EXCEEDED: 'SERVICE_QUOTA_EXCEEDED',
61
63
  GOOGLE_OAUTH_NOT_CONFIGURED: 'GOOGLE_OAUTH_NOT_CONFIGURED',
@@ -78,6 +80,8 @@ exports.ForteApiExceptionErrorCodeType = {
78
80
  COMPLIANCE_REGISTRATION_MISSING_REQUIRED_FIELDS: 'COMPLIANCE_REGISTRATION_MISSING_REQUIRED_FIELDS',
79
81
  COMPLIANCE_REGISTRATION_INVALID_STATUS_TRANSITION: 'COMPLIANCE_REGISTRATION_INVALID_STATUS_TRANSITION',
80
82
  COMPLIANCE_REGISTRATION_PAYMENTS_NOT_CONFIGURED: 'COMPLIANCE_REGISTRATION_PAYMENTS_NOT_CONFIGURED',
83
+ COMPLIANCE_REGISTRATION_MISSING_TOS_ACCEPTANCE: 'COMPLIANCE_REGISTRATION_MISSING_TOS_ACCEPTANCE',
84
+ COMPLIANCE_REGISTRATION_DOCUMENT_TYPE_NOT_ROUTABLE: 'COMPLIANCE_REGISTRATION_DOCUMENT_TYPE_NOT_ROUTABLE',
81
85
  COMPLIANCE_DOCUMENT_NOT_FOUND: 'COMPLIANCE_DOCUMENT_NOT_FOUND',
82
86
  COMPLIANCE_DOCUMENT_ALREADY_HAS_CONTENTS: 'COMPLIANCE_DOCUMENT_ALREADY_HAS_CONTENTS',
83
87
  COMPLIANCE_DOCUMENT_MISSING_CONTENTS: 'COMPLIANCE_DOCUMENT_MISSING_CONTENTS',
@@ -87,12 +91,28 @@ exports.ForteApiExceptionErrorCodeType = {
87
91
  COMPLIANCE_REGISTRATION_NOT_APPROVED: 'COMPLIANCE_REGISTRATION_NOT_APPROVED',
88
92
  EMAIL_LOGIN_NOT_ENABLED: 'EMAIL_LOGIN_NOT_ENABLED',
89
93
  PHONE_LOGIN_NOT_ENABLED: 'PHONE_LOGIN_NOT_ENABLED',
94
+ GOOGLE_OAUTH_CLIENT_ID_REQUIRED: 'GOOGLE_OAUTH_CLIENT_ID_REQUIRED',
95
+ SMS_REGISTRATION_NOT_APPROVED: 'SMS_REGISTRATION_NOT_APPROVED',
96
+ SES_TENANT_NOT_VERIFIED: 'SES_TENANT_NOT_VERIFIED',
90
97
  MISSING_GITHUB_BRANCH: 'MISSING_GITHUB_BRANCH',
91
98
  EXTERNAL_API_ERROR: 'EXTERNAL_API_ERROR',
92
99
  PAYMENTS_PROVIDER_REJECTED: 'PAYMENTS_PROVIDER_REJECTED',
100
+ PAYMENTS_NOT_CONFIGURED_ON_PROJECT_OWNER: 'PAYMENTS_NOT_CONFIGURED_ON_PROJECT_OWNER',
101
+ PAYMENTS_REQUIRE_APPROVED_COMPLIANCE: 'PAYMENTS_REQUIRE_APPROVED_COMPLIANCE',
102
+ PAYMENT_LINE_ITEMS_REQUIRED: 'PAYMENT_LINE_ITEMS_REQUIRED',
103
+ PAYMENT_AMOUNT_INVALID: 'PAYMENT_AMOUNT_INVALID',
104
+ PAYMENT_CURRENCY_INVALID: 'PAYMENT_CURRENCY_INVALID',
105
+ PAYMENT_TAX_ADDRESS_INVALID: 'PAYMENT_TAX_ADDRESS_INVALID',
106
+ PAYMENT_TAX_CALCULATION_FAILED: 'PAYMENT_TAX_CALCULATION_FAILED',
93
107
  EMAIL_CONFIGURATION_INVALID: 'EMAIL_CONFIGURATION_INVALID',
94
108
  SES_TENANT_NOT_PROVISIONED: 'SES_TENANT_NOT_PROVISIONED',
95
- SMS_CONFIGURATION_INVALID: 'SMS_CONFIGURATION_INVALID'
109
+ INVALID_MAIL_FROM_SUBDOMAIN: 'INVALID_MAIL_FROM_SUBDOMAIN',
110
+ SMS_CONFIGURATION_INVALID: 'SMS_CONFIGURATION_INVALID',
111
+ ENCRYPTION_PASSWORD_REQUIRED: 'ENCRYPTION_PASSWORD_REQUIRED',
112
+ ENCRYPTION_PASSWORD_TOO_WEAK: 'ENCRYPTION_PASSWORD_TOO_WEAK',
113
+ ENCRYPTION_PASSWORD_MISMATCH: 'ENCRYPTION_PASSWORD_MISMATCH',
114
+ COMPLIANCE_DOCUMENT_ENCRYPTED: 'COMPLIANCE_DOCUMENT_ENCRYPTED',
115
+ NOTIFICATION_TEMPLATE_INVALID: 'NOTIFICATION_TEMPLATE_INVALID'
96
116
  };
97
117
  /**
98
118
  * Check if a given object implements the ForteApiException interface.
@@ -109,8 +129,8 @@ function ForteApiExceptionFromJSONTyped(json, ignoreDiscriminator) {
109
129
  }
110
130
  return {
111
131
  'errorCode': json['errorCode'] == null ? undefined : json['errorCode'],
112
- 'message': json['message'] == null ? undefined : json['message'],
113
132
  'forteExceptionType': json['forteExceptionType'] == null ? undefined : json['forteExceptionType'],
133
+ 'message': json['message'] == null ? undefined : json['message'],
114
134
  };
115
135
  }
116
136
  function ForteApiExceptionToJSON(json) {
@@ -123,7 +143,7 @@ function ForteApiExceptionToJSONTyped(value, ignoreDiscriminator) {
123
143
  }
124
144
  return {
125
145
  'errorCode': value['errorCode'],
126
- 'message': value['message'],
127
146
  'forteExceptionType': value['forteExceptionType'],
147
+ 'message': value['message'],
128
148
  };
129
149
  }