@usethrottle/api-client 1.0.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -2
- package/dist/__tests__/customers-net-n-types.test.d.ts +2 -0
- package/dist/__tests__/customers-net-n-types.test.d.ts.map +1 -0
- package/dist/__tests__/customers-net-n-types.test.js +21 -0
- package/dist/__tests__/customers-net-n-types.test.js.map +1 -0
- package/dist/generated/index.d.ts +12 -0
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +12 -0
- package/dist/generated/index.js.map +1 -1
- package/dist/generated/services/AffiliatesService.d.ts +28 -0
- package/dist/generated/services/AffiliatesService.d.ts.map +1 -0
- package/dist/generated/services/AffiliatesService.js +49 -0
- package/dist/generated/services/AffiliatesService.js.map +1 -0
- package/dist/generated/services/ApplicationEmailSettingsService.d.ts +46 -0
- package/dist/generated/services/ApplicationEmailSettingsService.d.ts.map +1 -0
- package/dist/generated/services/ApplicationEmailSettingsService.js +95 -0
- package/dist/generated/services/ApplicationEmailSettingsService.js.map +1 -0
- package/dist/generated/services/ApplicationEmailTemplatesService.d.ts +57 -0
- package/dist/generated/services/ApplicationEmailTemplatesService.d.ts.map +1 -0
- package/dist/generated/services/ApplicationEmailTemplatesService.js +118 -0
- package/dist/generated/services/ApplicationEmailTemplatesService.js.map +1 -0
- package/dist/generated/services/ApplicationsService.d.ts +174 -0
- package/dist/generated/services/ApplicationsService.d.ts.map +1 -0
- package/dist/generated/services/ApplicationsService.js +147 -0
- package/dist/generated/services/ApplicationsService.js.map +1 -0
- package/dist/generated/services/AuthService.d.ts +9 -0
- package/dist/generated/services/AuthService.d.ts.map +1 -0
- package/dist/generated/services/AuthService.js +15 -0
- package/dist/generated/services/AuthService.js.map +1 -0
- package/dist/generated/services/CartsService.d.ts +60 -1
- package/dist/generated/services/CartsService.d.ts.map +1 -1
- package/dist/generated/services/CartsService.js.map +1 -1
- package/dist/generated/services/CheckoutSessionsService.d.ts +43 -1
- package/dist/generated/services/CheckoutSessionsService.d.ts.map +1 -1
- package/dist/generated/services/CheckoutSessionsService.js +91 -1
- package/dist/generated/services/CheckoutSessionsService.js.map +1 -1
- package/dist/generated/services/CustomersService.d.ts +56 -1
- package/dist/generated/services/CustomersService.d.ts.map +1 -1
- package/dist/generated/services/CustomersService.js +41 -1
- package/dist/generated/services/CustomersService.js.map +1 -1
- package/dist/generated/services/DefaultService.d.ts +280 -1
- package/dist/generated/services/DefaultService.d.ts.map +1 -1
- package/dist/generated/services/DefaultService.js +598 -1
- package/dist/generated/services/DefaultService.js.map +1 -1
- package/dist/generated/services/DiscountsService.d.ts +14 -1
- package/dist/generated/services/DiscountsService.d.ts.map +1 -1
- package/dist/generated/services/DiscountsService.js +5 -1
- package/dist/generated/services/DiscountsService.js.map +1 -1
- package/dist/generated/services/EmailSettingsService.d.ts +40 -0
- package/dist/generated/services/EmailSettingsService.d.ts.map +1 -0
- package/dist/generated/services/EmailSettingsService.js +71 -0
- package/dist/generated/services/EmailSettingsService.js.map +1 -0
- package/dist/generated/services/EmailTemplatesService.d.ts +56 -0
- package/dist/generated/services/EmailTemplatesService.d.ts.map +1 -0
- package/dist/generated/services/EmailTemplatesService.js +109 -0
- package/dist/generated/services/EmailTemplatesService.js.map +1 -0
- package/dist/generated/services/EmbedService.d.ts +8 -0
- package/dist/generated/services/EmbedService.d.ts.map +1 -1
- package/dist/generated/services/EmbedService.js.map +1 -1
- package/dist/generated/services/EventsService.d.ts +2 -0
- package/dist/generated/services/EventsService.d.ts.map +1 -1
- package/dist/generated/services/EventsService.js +1 -1
- package/dist/generated/services/EventsService.js.map +1 -1
- package/dist/generated/services/ExtensionsService.d.ts +8 -0
- package/dist/generated/services/ExtensionsService.d.ts.map +1 -1
- package/dist/generated/services/ExtensionsService.js +2 -2
- package/dist/generated/services/ExtensionsService.js.map +1 -1
- package/dist/generated/services/FulfillmentsService.d.ts +12 -0
- package/dist/generated/services/FulfillmentsService.d.ts.map +1 -1
- package/dist/generated/services/FulfillmentsService.js.map +1 -1
- package/dist/generated/services/OrdersService.d.ts +19 -1
- package/dist/generated/services/OrdersService.d.ts.map +1 -1
- package/dist/generated/services/OrdersService.js +9 -1
- package/dist/generated/services/OrdersService.js.map +1 -1
- package/dist/generated/services/PartnerSeatsService.d.ts +24 -0
- package/dist/generated/services/PartnerSeatsService.d.ts.map +1 -0
- package/dist/generated/services/PartnerSeatsService.js +46 -0
- package/dist/generated/services/PartnerSeatsService.js.map +1 -0
- package/dist/generated/services/PartnersService.d.ts +54 -0
- package/dist/generated/services/PartnersService.d.ts.map +1 -0
- package/dist/generated/services/PartnersService.js +101 -0
- package/dist/generated/services/PartnersService.js.map +1 -0
- package/dist/generated/services/PaymentMethodsService.d.ts +37 -0
- package/dist/generated/services/PaymentMethodsService.d.ts.map +1 -1
- package/dist/generated/services/PaymentMethodsService.js +15 -0
- package/dist/generated/services/PaymentMethodsService.js.map +1 -1
- package/dist/generated/services/PaymentsService.d.ts +55 -1
- package/dist/generated/services/PaymentsService.d.ts.map +1 -1
- package/dist/generated/services/PaymentsService.js +44 -1
- package/dist/generated/services/PaymentsService.js.map +1 -1
- package/dist/generated/services/StoresService.d.ts +4 -0
- package/dist/generated/services/StoresService.d.ts.map +1 -1
- package/dist/generated/services/StoresService.js.map +1 -1
- package/dist/generated/services/SubscriptionsService.d.ts +10 -1
- package/dist/generated/services/SubscriptionsService.d.ts.map +1 -1
- package/dist/generated/services/SubscriptionsService.js +5 -1
- package/dist/generated/services/SubscriptionsService.js.map +1 -1
- package/dist/generated/services/TeamService.d.ts +103 -0
- package/dist/generated/services/TeamService.d.ts.map +1 -0
- package/dist/generated/services/TeamService.js +221 -0
- package/dist/generated/services/TeamService.js.map +1 -0
- package/dist/generated/services/WebhooksOutboundService.d.ts +3 -3
- package/dist/generated/services/WebhooksOutboundService.d.ts.map +1 -1
- package/dist/generated/services/WebhooksService.d.ts +6 -0
- package/dist/generated/services/WebhooksService.d.ts.map +1 -1
- package/dist/generated/services/WebhooksService.js +1 -1
- package/dist/generated/services/WebhooksService.js.map +1 -1
- package/dist/generated/services/WorkspaceService.d.ts +14 -0
- package/dist/generated/services/WorkspaceService.d.ts.map +1 -0
- package/dist/generated/services/WorkspaceService.js +23 -0
- package/dist/generated/services/WorkspaceService.js.map +1 -0
- package/dist/generated/services/WorkspacesService.d.ts +118 -0
- package/dist/generated/services/WorkspacesService.d.ts.map +1 -0
- package/dist/generated/services/WorkspacesService.js +99 -0
- package/dist/generated/services/WorkspacesService.js.map +1 -0
- package/package.json +8 -8
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
export declare class ApplicationsService {
|
|
3
|
+
/**
|
|
4
|
+
* Upload an application logo.
|
|
5
|
+
* @param workspaceId
|
|
6
|
+
* @param applicationId
|
|
7
|
+
* @returns any Default Response
|
|
8
|
+
* @throws ApiError
|
|
9
|
+
*/
|
|
10
|
+
static postApiV1WorkspacesApplicationsLogo(workspaceId: string, applicationId: string): CancelablePromise<any>;
|
|
11
|
+
/**
|
|
12
|
+
* Delete an application logo.
|
|
13
|
+
* @param workspaceId
|
|
14
|
+
* @param applicationId
|
|
15
|
+
* @returns any Default Response
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
static deleteApiV1WorkspacesApplicationsLogo(workspaceId: string, applicationId: string): CancelablePromise<any>;
|
|
19
|
+
/**
|
|
20
|
+
* Create a new application in a workspace (must be a member)
|
|
21
|
+
* @param workspaceId
|
|
22
|
+
* @param requestBody
|
|
23
|
+
* @returns any Default Response
|
|
24
|
+
* @throws ApiError
|
|
25
|
+
*/
|
|
26
|
+
static postApiV1WorkspacesApplications(workspaceId: string, requestBody: {
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* URL-safe identifier, unique within the workspace
|
|
30
|
+
*/
|
|
31
|
+
slug: string;
|
|
32
|
+
currency?: string;
|
|
33
|
+
displayName?: string | null;
|
|
34
|
+
brandColor?: string | null;
|
|
35
|
+
allowedOrigins?: Array<string>;
|
|
36
|
+
}): CancelablePromise<{
|
|
37
|
+
data?: {
|
|
38
|
+
id?: string;
|
|
39
|
+
workspaceId?: string;
|
|
40
|
+
name?: string;
|
|
41
|
+
slug?: string;
|
|
42
|
+
currency?: string;
|
|
43
|
+
isActive?: boolean;
|
|
44
|
+
displayName?: string | null;
|
|
45
|
+
logoUrl?: string | null;
|
|
46
|
+
brandColor?: string | null;
|
|
47
|
+
allowedOrigins?: Array<string>;
|
|
48
|
+
createdAt?: string;
|
|
49
|
+
updatedAt?: string;
|
|
50
|
+
merchant_id?: string;
|
|
51
|
+
};
|
|
52
|
+
meta?: {
|
|
53
|
+
request_id?: string;
|
|
54
|
+
pagination?: {
|
|
55
|
+
cursor?: string | null;
|
|
56
|
+
hasMore?: boolean;
|
|
57
|
+
has_more?: boolean;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
}>;
|
|
61
|
+
/**
|
|
62
|
+
* List applications in a workspace (must be a member)
|
|
63
|
+
* @param workspaceId
|
|
64
|
+
* @returns any Default Response
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
static getApiV1WorkspacesApplications(workspaceId: string): CancelablePromise<{
|
|
68
|
+
data?: Array<{
|
|
69
|
+
id?: string;
|
|
70
|
+
workspaceId?: string;
|
|
71
|
+
name?: string;
|
|
72
|
+
slug?: string;
|
|
73
|
+
currency?: string;
|
|
74
|
+
isActive?: boolean;
|
|
75
|
+
displayName?: string | null;
|
|
76
|
+
logoUrl?: string | null;
|
|
77
|
+
brandColor?: string | null;
|
|
78
|
+
allowedOrigins?: Array<string>;
|
|
79
|
+
createdAt?: string;
|
|
80
|
+
updatedAt?: string;
|
|
81
|
+
merchant_id?: string;
|
|
82
|
+
}>;
|
|
83
|
+
meta?: {
|
|
84
|
+
request_id?: string;
|
|
85
|
+
pagination?: {
|
|
86
|
+
cursor?: string | null;
|
|
87
|
+
hasMore?: boolean;
|
|
88
|
+
has_more?: boolean;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
}>;
|
|
92
|
+
/**
|
|
93
|
+
* Get a single application by ID (must be a workspace member)
|
|
94
|
+
* @param workspaceId
|
|
95
|
+
* @param applicationId
|
|
96
|
+
* @returns any Default Response
|
|
97
|
+
* @throws ApiError
|
|
98
|
+
*/
|
|
99
|
+
static getApiV1WorkspacesApplications1(workspaceId: string, applicationId: string): CancelablePromise<{
|
|
100
|
+
data?: {
|
|
101
|
+
id?: string;
|
|
102
|
+
workspaceId?: string;
|
|
103
|
+
name?: string;
|
|
104
|
+
slug?: string;
|
|
105
|
+
currency?: string;
|
|
106
|
+
isActive?: boolean;
|
|
107
|
+
displayName?: string | null;
|
|
108
|
+
logoUrl?: string | null;
|
|
109
|
+
brandColor?: string | null;
|
|
110
|
+
allowedOrigins?: Array<string>;
|
|
111
|
+
createdAt?: string;
|
|
112
|
+
updatedAt?: string;
|
|
113
|
+
merchant_id?: string;
|
|
114
|
+
};
|
|
115
|
+
meta?: {
|
|
116
|
+
request_id?: string;
|
|
117
|
+
pagination?: {
|
|
118
|
+
cursor?: string | null;
|
|
119
|
+
hasMore?: boolean;
|
|
120
|
+
has_more?: boolean;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}>;
|
|
124
|
+
/**
|
|
125
|
+
* Update application name, slug, currency, or isActive (must be a workspace member)
|
|
126
|
+
* @param workspaceId
|
|
127
|
+
* @param applicationId
|
|
128
|
+
* @param requestBody
|
|
129
|
+
* @returns any Default Response
|
|
130
|
+
* @throws ApiError
|
|
131
|
+
*/
|
|
132
|
+
static patchApiV1WorkspacesApplications(workspaceId: string, applicationId: string, requestBody: {
|
|
133
|
+
name?: string;
|
|
134
|
+
slug?: string;
|
|
135
|
+
currency?: string;
|
|
136
|
+
isActive?: boolean;
|
|
137
|
+
displayName?: string | null;
|
|
138
|
+
brandColor?: string | null;
|
|
139
|
+
allowedOrigins?: Array<string>;
|
|
140
|
+
}): CancelablePromise<{
|
|
141
|
+
data?: {
|
|
142
|
+
id?: string;
|
|
143
|
+
workspaceId?: string;
|
|
144
|
+
name?: string;
|
|
145
|
+
slug?: string;
|
|
146
|
+
currency?: string;
|
|
147
|
+
isActive?: boolean;
|
|
148
|
+
displayName?: string | null;
|
|
149
|
+
logoUrl?: string | null;
|
|
150
|
+
brandColor?: string | null;
|
|
151
|
+
allowedOrigins?: Array<string>;
|
|
152
|
+
createdAt?: string;
|
|
153
|
+
updatedAt?: string;
|
|
154
|
+
merchant_id?: string;
|
|
155
|
+
};
|
|
156
|
+
meta?: {
|
|
157
|
+
request_id?: string;
|
|
158
|
+
pagination?: {
|
|
159
|
+
cursor?: string | null;
|
|
160
|
+
hasMore?: boolean;
|
|
161
|
+
has_more?: boolean;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
}>;
|
|
165
|
+
/**
|
|
166
|
+
* Delete an application (must be a workspace member)
|
|
167
|
+
* @param workspaceId
|
|
168
|
+
* @param applicationId
|
|
169
|
+
* @returns void
|
|
170
|
+
* @throws ApiError
|
|
171
|
+
*/
|
|
172
|
+
static deleteApiV1WorkspacesApplications(workspaceId: string, applicationId: string): CancelablePromise<void>;
|
|
173
|
+
}
|
|
174
|
+
//# sourceMappingURL=ApplicationsService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationsService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/ApplicationsService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,mBAAmB;IAC5B;;;;;;OAMG;WACW,mCAAmC,CAC7C,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACtB,iBAAiB,CAAC,GAAG,CAAC;IAUzB;;;;;;OAMG;WACW,qCAAqC,CAC/C,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACtB,iBAAiB,CAAC,G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AAE,MAAM,GAAG,IAAI,CAAC;YACxB,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;YAC3B,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;YAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,WAAW,CAAC,EAAE,MAAM,CAAC;SACxB,CAAC;QACF,IAAI,CAAC,EAAE;YACH,UAAU,CAAC,EAAE,MAAM,CAAC;YACpB,UAAU,CAAC,EAAE;gBACT,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;gBACvB,OAAO,CAAC,EAAE,OAAO,CAAC;gBAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;aACtB,CAAC;SACL,CAAC;KACL,CAAC;IAiBF;;;;;;OAMG;WACW,iCAAiC,CAC3C,WAAW,EAAE,MAAM,EACnB,aAAa,EAAE,MAAM,GACtB,iBAAiB,CAAC,IAAI,CAAC;CAc7B"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class ApplicationsService {
|
|
4
|
+
/**
|
|
5
|
+
* Upload an application logo.
|
|
6
|
+
* @param workspaceId
|
|
7
|
+
* @param applicationId
|
|
8
|
+
* @returns any Default Response
|
|
9
|
+
* @throws ApiError
|
|
10
|
+
*/
|
|
11
|
+
static postApiV1WorkspacesApplicationsLogo(workspaceId, applicationId) {
|
|
12
|
+
return __request(OpenAPI, {
|
|
13
|
+
method: 'POST',
|
|
14
|
+
url: '/api/v1/workspaces/{workspaceId}/applications/{applicationId}/logo',
|
|
15
|
+
path: {
|
|
16
|
+
'workspaceId': workspaceId,
|
|
17
|
+
'applicationId': applicationId,
|
|
18
|
+
},
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Delete an application logo.
|
|
23
|
+
* @param workspaceId
|
|
24
|
+
* @param applicationId
|
|
25
|
+
* @returns any Default Response
|
|
26
|
+
* @throws ApiError
|
|
27
|
+
*/
|
|
28
|
+
static deleteApiV1WorkspacesApplicationsLogo(workspaceId, applicationId) {
|
|
29
|
+
return __request(OpenAPI, {
|
|
30
|
+
method: 'DELETE',
|
|
31
|
+
url: '/api/v1/workspaces/{workspaceId}/applications/{applicationId}/logo',
|
|
32
|
+
path: {
|
|
33
|
+
'workspaceId': workspaceId,
|
|
34
|
+
'applicationId': applicationId,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Create a new application in a workspace (must be a member)
|
|
40
|
+
* @param workspaceId
|
|
41
|
+
* @param requestBody
|
|
42
|
+
* @returns any Default Response
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
static postApiV1WorkspacesApplications(workspaceId, requestBody) {
|
|
46
|
+
return __request(OpenAPI, {
|
|
47
|
+
method: 'POST',
|
|
48
|
+
url: '/api/v1/workspaces/{workspaceId}/applications',
|
|
49
|
+
path: {
|
|
50
|
+
'workspaceId': workspaceId,
|
|
51
|
+
},
|
|
52
|
+
body: requestBody,
|
|
53
|
+
mediaType: 'application/json',
|
|
54
|
+
errors: {
|
|
55
|
+
400: `Default Response`,
|
|
56
|
+
403: `Default Response`,
|
|
57
|
+
409: `Default Response`,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* List applications in a workspace (must be a member)
|
|
63
|
+
* @param workspaceId
|
|
64
|
+
* @returns any Default Response
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
static getApiV1WorkspacesApplications(workspaceId) {
|
|
68
|
+
return __request(OpenAPI, {
|
|
69
|
+
method: 'GET',
|
|
70
|
+
url: '/api/v1/workspaces/{workspaceId}/applications',
|
|
71
|
+
path: {
|
|
72
|
+
'workspaceId': workspaceId,
|
|
73
|
+
},
|
|
74
|
+
errors: {
|
|
75
|
+
403: `Default Response`,
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Get a single application by ID (must be a workspace member)
|
|
81
|
+
* @param workspaceId
|
|
82
|
+
* @param applicationId
|
|
83
|
+
* @returns any Default Response
|
|
84
|
+
* @throws ApiError
|
|
85
|
+
*/
|
|
86
|
+
static getApiV1WorkspacesApplications1(workspaceId, applicationId) {
|
|
87
|
+
return __request(OpenAPI, {
|
|
88
|
+
method: 'GET',
|
|
89
|
+
url: '/api/v1/workspaces/{workspaceId}/applications/{applicationId}',
|
|
90
|
+
path: {
|
|
91
|
+
'workspaceId': workspaceId,
|
|
92
|
+
'applicationId': applicationId,
|
|
93
|
+
},
|
|
94
|
+
errors: {
|
|
95
|
+
403: `Default Response`,
|
|
96
|
+
404: `Default Response`,
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Update application name, slug, currency, or isActive (must be a workspace member)
|
|
102
|
+
* @param workspaceId
|
|
103
|
+
* @param applicationId
|
|
104
|
+
* @param requestBody
|
|
105
|
+
* @returns any Default Response
|
|
106
|
+
* @throws ApiError
|
|
107
|
+
*/
|
|
108
|
+
static patchApiV1WorkspacesApplications(workspaceId, applicationId, requestBody) {
|
|
109
|
+
return __request(OpenAPI, {
|
|
110
|
+
method: 'PATCH',
|
|
111
|
+
url: '/api/v1/workspaces/{workspaceId}/applications/{applicationId}',
|
|
112
|
+
path: {
|
|
113
|
+
'workspaceId': workspaceId,
|
|
114
|
+
'applicationId': applicationId,
|
|
115
|
+
},
|
|
116
|
+
body: requestBody,
|
|
117
|
+
mediaType: 'application/json',
|
|
118
|
+
errors: {
|
|
119
|
+
403: `Default Response`,
|
|
120
|
+
404: `Default Response`,
|
|
121
|
+
409: `Default Response`,
|
|
122
|
+
},
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Delete an application (must be a workspace member)
|
|
127
|
+
* @param workspaceId
|
|
128
|
+
* @param applicationId
|
|
129
|
+
* @returns void
|
|
130
|
+
* @throws ApiError
|
|
131
|
+
*/
|
|
132
|
+
static deleteApiV1WorkspacesApplications(workspaceId, applicationId) {
|
|
133
|
+
return __request(OpenAPI, {
|
|
134
|
+
method: 'DELETE',
|
|
135
|
+
url: '/api/v1/workspaces/{workspaceId}/applications/{applicationId}',
|
|
136
|
+
path: {
|
|
137
|
+
'workspaceId': workspaceId,
|
|
138
|
+
'applicationId': applicationId,
|
|
139
|
+
},
|
|
140
|
+
errors: {
|
|
141
|
+
403: `Default Response`,
|
|
142
|
+
404: `Default Response`,
|
|
143
|
+
},
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=ApplicationsService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApplicationsService.js","sourceRoot":"","sources":["../../../src/generated/services/ApplicationsService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,mBAAmB;IAC5B;;;;;;OAMG;IACI,MAAM,CAAC,mCAAmC,CAC7C,WAAmB,EACnB,aAAqB;QAErB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,oEAAoE;YACzE,IAAI,EAAE;gBACF,aAAa,EAAE,WAAW;gBAC1B,eAAe,EAAE,aAAa;aACjC;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,qCAAqC,CAC/C,WAAmB,EACnB,aAAqB;QAErB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,oEAAoE;YACzE,IAAI,EAAE;gBACF,aAAa,EAAE,WAAW;gBAC1B,eA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I,EAAE;gBACF,aAAa,EAAE,WAAW;gBAC1B,eAAe,EAAE,aAAa;aACjC;YACD,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,kBAAkB;YAC7B,MAAM,EAAE;gBACJ,GAAG,EAAE,kBAAkB;gBACvB,GAAG,EAAE,kBAAkB;gBACvB,GAAG,EAAE,kBAAkB;aAC1B;SACJ,CAAC,CAAC;IACP,CAAC;IACD;;;;;;OAMG;IACI,MAAM,CAAC,iCAAiC,CAC3C,WAAmB,EACnB,aAAqB;QAErB,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,+DAA+D;YACpE,IAAI,EAAE;gBACF,aAAa,EAAE,WAAW;gBAC1B,eAAe,EAAE,aAAa;aACjC;YACD,MAAM,EAAE;gBACJ,GAAG,EAAE,kBAAkB;gBACvB,GAAG,EAAE,kBAAkB;aAC1B;SACJ,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
2
|
+
export declare class AuthService {
|
|
3
|
+
/**
|
|
4
|
+
* @returns any Default Response
|
|
5
|
+
* @throws ApiError
|
|
6
|
+
*/
|
|
7
|
+
static getApiV1AuthPermissions(): CancelablePromise<any>;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=AuthService.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthService.d.ts","sourceRoot":"","sources":["../../../src/generated/services/AuthService.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAGnE,qBAAa,WAAW;IACpB;;;OAGG;WACW,uBAAuB,IAAI,iBAAiB,CAAC,GAAG,CAAC;CAMlE"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
2
|
+
import { request as __request } from '../core/request';
|
|
3
|
+
export class AuthService {
|
|
4
|
+
/**
|
|
5
|
+
* @returns any Default Response
|
|
6
|
+
* @throws ApiError
|
|
7
|
+
*/
|
|
8
|
+
static getApiV1AuthPermissions() {
|
|
9
|
+
return __request(OpenAPI, {
|
|
10
|
+
method: 'GET',
|
|
11
|
+
url: '/api/v1/auth/permissions',
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=AuthService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AuthService.js","sourceRoot":"","sources":["../../../src/generated/services/AuthService.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,MAAM,OAAO,WAAW;IACpB;;;OAGG;IACI,MAAM,CAAC,uBAAuB;QACjC,OAAO,SAAS,CAAC,OAAO,EAAE;YACtB,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,0BAA0B;SAClC,CAAC,CAAC;IACP,CAAC;CACJ"}
|
|
@@ -7,9 +7,15 @@ export declare class CartsService {
|
|
|
7
7
|
* @throws ApiError
|
|
8
8
|
*/
|
|
9
9
|
static postApiV1Carts(requestBody: {
|
|
10
|
+
applicationId?: string;
|
|
11
|
+
storeId?: string;
|
|
10
12
|
store_id?: string;
|
|
13
|
+
application_id?: string;
|
|
14
|
+
customerId?: string;
|
|
11
15
|
customer_id?: string;
|
|
12
16
|
currency?: string;
|
|
17
|
+
netN?: number | null;
|
|
18
|
+
net_n?: number | null;
|
|
13
19
|
/**
|
|
14
20
|
* Arbitrary key-value metadata
|
|
15
21
|
*/
|
|
@@ -42,6 +48,7 @@ export declare class CartsService {
|
|
|
42
48
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
43
49
|
*/
|
|
44
50
|
total?: number;
|
|
51
|
+
net_n?: number | null;
|
|
45
52
|
discountCode?: string | null;
|
|
46
53
|
appliedDiscount?: ({
|
|
47
54
|
discountId?: string | null;
|
|
@@ -91,6 +98,7 @@ export declare class CartsService {
|
|
|
91
98
|
request_id?: string;
|
|
92
99
|
pagination?: {
|
|
93
100
|
cursor?: string | null;
|
|
101
|
+
hasMore?: boolean;
|
|
94
102
|
has_more?: boolean;
|
|
95
103
|
};
|
|
96
104
|
};
|
|
@@ -129,6 +137,7 @@ export declare class CartsService {
|
|
|
129
137
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
130
138
|
*/
|
|
131
139
|
total?: number;
|
|
140
|
+
net_n?: number | null;
|
|
132
141
|
discountCode?: string | null;
|
|
133
142
|
appliedDiscount?: ({
|
|
134
143
|
discountId?: string | null;
|
|
@@ -178,6 +187,7 @@ export declare class CartsService {
|
|
|
178
187
|
request_id?: string;
|
|
179
188
|
pagination?: {
|
|
180
189
|
cursor?: string | null;
|
|
190
|
+
hasMore?: boolean;
|
|
181
191
|
has_more?: boolean;
|
|
182
192
|
};
|
|
183
193
|
};
|
|
@@ -190,10 +200,15 @@ export declare class CartsService {
|
|
|
190
200
|
* @throws ApiError
|
|
191
201
|
*/
|
|
192
202
|
static patchApiV1Carts(id: string, requestBody: {
|
|
203
|
+
customerId?: string;
|
|
193
204
|
customer_id?: string;
|
|
205
|
+
billingAddress?: Record<string, any>;
|
|
194
206
|
billing_address?: Record<string, any>;
|
|
207
|
+
shippingAddress?: Record<string, any>;
|
|
195
208
|
shipping_address?: Record<string, any>;
|
|
196
209
|
notes?: string;
|
|
210
|
+
netN?: number | null;
|
|
211
|
+
net_n?: number | null;
|
|
197
212
|
/**
|
|
198
213
|
* Arbitrary key-value metadata
|
|
199
214
|
*/
|
|
@@ -226,6 +241,7 @@ export declare class CartsService {
|
|
|
226
241
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
227
242
|
*/
|
|
228
243
|
total?: number;
|
|
244
|
+
net_n?: number | null;
|
|
229
245
|
discountCode?: string | null;
|
|
230
246
|
appliedDiscount?: ({
|
|
231
247
|
discountId?: string | null;
|
|
@@ -275,6 +291,7 @@ export declare class CartsService {
|
|
|
275
291
|
request_id?: string;
|
|
276
292
|
pagination?: {
|
|
277
293
|
cursor?: string | null;
|
|
294
|
+
hasMore?: boolean;
|
|
278
295
|
has_more?: boolean;
|
|
279
296
|
};
|
|
280
297
|
};
|
|
@@ -288,22 +305,36 @@ export declare class CartsService {
|
|
|
288
305
|
*/
|
|
289
306
|
static postApiV1CartsItems(id: string, requestBody: {
|
|
290
307
|
type?: 'product' | 'subscription' | 'service' | 'ticket' | 'donation' | 'custom';
|
|
308
|
+
referenceId?: string;
|
|
291
309
|
reference_id?: string;
|
|
292
|
-
name
|
|
310
|
+
name?: string;
|
|
293
311
|
description?: string;
|
|
312
|
+
/**
|
|
313
|
+
* Amount in cents (e.g. 1999 = $19.99)
|
|
314
|
+
*/
|
|
315
|
+
unitPrice?: number;
|
|
294
316
|
/**
|
|
295
317
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
296
318
|
*/
|
|
297
319
|
unit_price?: number;
|
|
298
320
|
quantity?: number;
|
|
321
|
+
/**
|
|
322
|
+
* Amount in cents (e.g. 1999 = $19.99)
|
|
323
|
+
*/
|
|
324
|
+
taxAmount?: number;
|
|
299
325
|
/**
|
|
300
326
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
301
327
|
*/
|
|
302
328
|
tax_amount?: number;
|
|
329
|
+
/**
|
|
330
|
+
* Amount in cents (e.g. 1999 = $19.99)
|
|
331
|
+
*/
|
|
332
|
+
discountAmount?: number;
|
|
303
333
|
/**
|
|
304
334
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
305
335
|
*/
|
|
306
336
|
discount_amount?: number;
|
|
337
|
+
imageUrl?: string;
|
|
307
338
|
image_url?: string;
|
|
308
339
|
/**
|
|
309
340
|
* Arbitrary key-value metadata
|
|
@@ -331,6 +362,7 @@ export declare class CartsService {
|
|
|
331
362
|
request_id?: string;
|
|
332
363
|
pagination?: {
|
|
333
364
|
cursor?: string | null;
|
|
365
|
+
hasMore?: boolean;
|
|
334
366
|
has_more?: boolean;
|
|
335
367
|
};
|
|
336
368
|
};
|
|
@@ -344,14 +376,26 @@ export declare class CartsService {
|
|
|
344
376
|
*/
|
|
345
377
|
static patchApiV1CartsItems(id: string, requestBody: {
|
|
346
378
|
quantity?: number;
|
|
379
|
+
/**
|
|
380
|
+
* Amount in cents (e.g. 1999 = $19.99)
|
|
381
|
+
*/
|
|
382
|
+
unitPrice?: number;
|
|
347
383
|
/**
|
|
348
384
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
349
385
|
*/
|
|
350
386
|
unit_price?: number;
|
|
387
|
+
/**
|
|
388
|
+
* Amount in cents (e.g. 1999 = $19.99)
|
|
389
|
+
*/
|
|
390
|
+
taxAmount?: number;
|
|
351
391
|
/**
|
|
352
392
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
353
393
|
*/
|
|
354
394
|
tax_amount?: number;
|
|
395
|
+
/**
|
|
396
|
+
* Amount in cents (e.g. 1999 = $19.99)
|
|
397
|
+
*/
|
|
398
|
+
discountAmount?: number;
|
|
355
399
|
/**
|
|
356
400
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
357
401
|
*/
|
|
@@ -382,6 +426,7 @@ export declare class CartsService {
|
|
|
382
426
|
request_id?: string;
|
|
383
427
|
pagination?: {
|
|
384
428
|
cursor?: string | null;
|
|
429
|
+
hasMore?: boolean;
|
|
385
430
|
has_more?: boolean;
|
|
386
431
|
};
|
|
387
432
|
};
|
|
@@ -423,6 +468,7 @@ export declare class CartsService {
|
|
|
423
468
|
request_id?: string;
|
|
424
469
|
pagination?: {
|
|
425
470
|
cursor?: string | null;
|
|
471
|
+
hasMore?: boolean;
|
|
426
472
|
has_more?: boolean;
|
|
427
473
|
};
|
|
428
474
|
};
|
|
@@ -464,6 +510,7 @@ export declare class CartsService {
|
|
|
464
510
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
465
511
|
*/
|
|
466
512
|
total?: number;
|
|
513
|
+
net_n?: number | null;
|
|
467
514
|
discountCode?: string | null;
|
|
468
515
|
appliedDiscount?: ({
|
|
469
516
|
discountId?: string | null;
|
|
@@ -513,6 +560,7 @@ export declare class CartsService {
|
|
|
513
560
|
request_id?: string;
|
|
514
561
|
pagination?: {
|
|
515
562
|
cursor?: string | null;
|
|
563
|
+
hasMore?: boolean;
|
|
516
564
|
has_more?: boolean;
|
|
517
565
|
};
|
|
518
566
|
};
|
|
@@ -551,6 +599,7 @@ export declare class CartsService {
|
|
|
551
599
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
552
600
|
*/
|
|
553
601
|
total?: number;
|
|
602
|
+
net_n?: number | null;
|
|
554
603
|
discountCode?: string | null;
|
|
555
604
|
appliedDiscount?: ({
|
|
556
605
|
discountId?: string | null;
|
|
@@ -600,6 +649,7 @@ export declare class CartsService {
|
|
|
600
649
|
request_id?: string;
|
|
601
650
|
pagination?: {
|
|
602
651
|
cursor?: string | null;
|
|
652
|
+
hasMore?: boolean;
|
|
603
653
|
has_more?: boolean;
|
|
604
654
|
};
|
|
605
655
|
};
|
|
@@ -650,6 +700,7 @@ export declare class CartsService {
|
|
|
650
700
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
651
701
|
*/
|
|
652
702
|
total?: number;
|
|
703
|
+
net_n?: number | null;
|
|
653
704
|
discountCode?: string | null;
|
|
654
705
|
appliedDiscount?: ({
|
|
655
706
|
discountId?: string | null;
|
|
@@ -699,6 +750,7 @@ export declare class CartsService {
|
|
|
699
750
|
request_id?: string;
|
|
700
751
|
pagination?: {
|
|
701
752
|
cursor?: string | null;
|
|
753
|
+
hasMore?: boolean;
|
|
702
754
|
has_more?: boolean;
|
|
703
755
|
};
|
|
704
756
|
};
|
|
@@ -737,6 +789,7 @@ export declare class CartsService {
|
|
|
737
789
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
738
790
|
*/
|
|
739
791
|
total?: number;
|
|
792
|
+
net_n?: number | null;
|
|
740
793
|
discountCode?: string | null;
|
|
741
794
|
appliedDiscount?: ({
|
|
742
795
|
discountId?: string | null;
|
|
@@ -786,6 +839,7 @@ export declare class CartsService {
|
|
|
786
839
|
request_id?: string;
|
|
787
840
|
pagination?: {
|
|
788
841
|
cursor?: string | null;
|
|
842
|
+
hasMore?: boolean;
|
|
789
843
|
has_more?: boolean;
|
|
790
844
|
};
|
|
791
845
|
};
|
|
@@ -835,6 +889,7 @@ export declare class CartsService {
|
|
|
835
889
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
836
890
|
*/
|
|
837
891
|
total?: number;
|
|
892
|
+
net_n?: number | null;
|
|
838
893
|
discountCode?: string | null;
|
|
839
894
|
appliedDiscount?: ({
|
|
840
895
|
discountId?: string | null;
|
|
@@ -884,6 +939,7 @@ export declare class CartsService {
|
|
|
884
939
|
request_id?: string;
|
|
885
940
|
pagination?: {
|
|
886
941
|
cursor?: string | null;
|
|
942
|
+
hasMore?: boolean;
|
|
887
943
|
has_more?: boolean;
|
|
888
944
|
};
|
|
889
945
|
};
|
|
@@ -922,6 +978,7 @@ export declare class CartsService {
|
|
|
922
978
|
* Amount in cents (e.g. 1999 = $19.99)
|
|
923
979
|
*/
|
|
924
980
|
total?: number;
|
|
981
|
+
net_n?: number | null;
|
|
925
982
|
discountCode?: string | null;
|
|
926
983
|
appliedDiscount?: ({
|
|
927
984
|
discountId?: string | null;
|
|
@@ -971,6 +1028,7 @@ export declare class CartsService {
|
|
|
971
1028
|
request_id?: string;
|
|
972
1029
|
pagination?: {
|
|
973
1030
|
cursor?: string | null;
|
|
1031
|
+
hasMore?: boolean;
|
|
974
1032
|
has_more?: boolean;
|
|
975
1033
|
};
|
|
976
1034
|
};
|
|
@@ -998,6 +1056,7 @@ export declare class CartsService {
|
|
|
998
1056
|
request_id?: string;
|
|
999
1057
|
pagination?: {
|
|
1000
1058
|
cursor?: string | null;
|
|
1059
|
+
hasMore?: boolean;
|
|
1001
1060
|
has_more?: boolean;
|
|
1002
1061
|
};
|
|
1003
1062
|
};
|