@epilot/customer-portal-client 0.4.0 → 0.4.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/client.d.ts +2 -1
- package/dist/definition.js +1 -1
- package/dist/index.js +5 -1
- package/dist/openapi.d.ts +915 -585
- package/package.json +4 -4
- package/src/openapi.d.ts +915 -585
package/dist/openapi.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import {
|
|
2
|
+
import type {
|
|
3
3
|
OpenAPIClient,
|
|
4
4
|
Parameters,
|
|
5
5
|
UnknownParamsObject,
|
|
@@ -8,616 +8,926 @@ import {
|
|
|
8
8
|
} from 'openapi-client-axios';
|
|
9
9
|
|
|
10
10
|
declare namespace Components {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* example:
|
|
39
|
-
* {
|
|
40
|
-
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
41
|
-
* "_org": "123",
|
|
42
|
-
* "_schema": "contact",
|
|
43
|
-
* "_tags": [
|
|
44
|
-
* "example",
|
|
45
|
-
* "mock"
|
|
46
|
-
* ],
|
|
47
|
-
* "_created_at": "2021-02-09T12:41:43.662Z",
|
|
48
|
-
* "_updated_at": "2021-02-09T12:41:43.662Z"
|
|
49
|
-
* }
|
|
50
|
-
*/
|
|
51
|
-
export interface BaseEntity {
|
|
52
|
-
_id: EntityId; // uuid
|
|
53
|
-
/**
|
|
54
|
-
* Title of entity
|
|
55
|
-
*/
|
|
56
|
-
_title: string;
|
|
57
|
-
/**
|
|
58
|
-
* Organization Id the entity belongs to
|
|
59
|
-
*/
|
|
60
|
-
_org: string;
|
|
61
|
-
_schema: EntitySlug;
|
|
62
|
-
_tags?: string[];
|
|
63
|
-
_created_at: string; // date-time
|
|
64
|
-
_updated_at: string; // date-time
|
|
65
|
-
}
|
|
66
|
-
export interface Brand {
|
|
67
|
-
/**
|
|
68
|
-
* example:
|
|
69
|
-
* 12454
|
|
70
|
-
*/
|
|
71
|
-
id?: string;
|
|
72
|
-
/**
|
|
73
|
-
* example:
|
|
74
|
-
* 66
|
|
75
|
-
*/
|
|
76
|
-
organization_id?: string;
|
|
77
|
-
/**
|
|
78
|
-
* example:
|
|
79
|
-
* 3134
|
|
80
|
-
*/
|
|
81
|
-
design_id?: string;
|
|
82
|
-
/**
|
|
83
|
-
* example:
|
|
84
|
-
* abc.com
|
|
85
|
-
*/
|
|
86
|
-
domain?: string;
|
|
87
|
-
cognito_details?: {
|
|
88
|
-
/**
|
|
89
|
-
* example:
|
|
90
|
-
* 6bsd0jkgoie74k2i8mrhc1vest
|
|
91
|
-
*/
|
|
92
|
-
cognito_user_pool_client_id?: string;
|
|
93
|
-
/**
|
|
94
|
-
* example:
|
|
95
|
-
* arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
|
|
96
|
-
*/
|
|
97
|
-
cognito_user_pool_arn?: string;
|
|
98
|
-
/**
|
|
99
|
-
* example:
|
|
100
|
-
* eu-central-1_CUEQRNbUb
|
|
101
|
-
*/
|
|
102
|
-
cognito_user_pool_id?: string;
|
|
103
|
-
};
|
|
104
|
-
config?: string;
|
|
105
|
-
/**
|
|
106
|
-
* example:
|
|
107
|
-
* 1234
|
|
108
|
-
*/
|
|
109
|
-
secondary_identifier?: string;
|
|
110
|
-
/**
|
|
111
|
-
* example:
|
|
112
|
-
* CONFIGURING
|
|
113
|
-
*/
|
|
114
|
-
dnsStatus?: string;
|
|
115
|
-
dnsRecords?: {
|
|
116
|
-
/**
|
|
117
|
-
* example:
|
|
118
|
-
* _417aisu1ua82jf1fj1743nhsf9180a45.end-customer-portal.dev.epilot.io.
|
|
119
|
-
*/
|
|
120
|
-
name?: string;
|
|
121
|
-
/**
|
|
122
|
-
* example:
|
|
123
|
-
* CNAME
|
|
124
|
-
*/
|
|
125
|
-
type?: string;
|
|
126
|
-
/**
|
|
127
|
-
* example:
|
|
128
|
-
* _1b879ajs1746hk92hf81ghcch173gc91.bwlshdtstt.acm-validations.aws.
|
|
129
|
-
*/
|
|
130
|
-
value?: string;
|
|
131
|
-
}[];
|
|
132
|
-
cdnRecords?: {
|
|
133
|
-
/**
|
|
134
|
-
* example:
|
|
135
|
-
* end-customer-portal.dev.epilot.io.
|
|
136
|
-
*/
|
|
137
|
-
name?: string;
|
|
138
|
-
/**
|
|
139
|
-
* example:
|
|
140
|
-
* CNAME
|
|
141
|
-
*/
|
|
142
|
-
type?: string;
|
|
143
|
-
/**
|
|
144
|
-
* example:
|
|
145
|
-
* dm99ajd13901ne9.cloudfront.net
|
|
146
|
-
*/
|
|
147
|
-
value?: string;
|
|
148
|
-
}[];
|
|
149
|
-
}
|
|
150
|
-
export interface BrandCreate {
|
|
151
|
-
/**
|
|
152
|
-
* example:
|
|
153
|
-
* 12345
|
|
154
|
-
*/
|
|
155
|
-
id?: string;
|
|
156
|
-
/**
|
|
157
|
-
* example:
|
|
158
|
-
* test@test.com
|
|
159
|
-
*/
|
|
160
|
-
domain?: string;
|
|
161
|
-
/**
|
|
162
|
-
* example:
|
|
163
|
-
* true
|
|
164
|
-
*/
|
|
165
|
-
enabled?: boolean;
|
|
166
|
-
/**
|
|
167
|
-
* example:
|
|
168
|
-
* true
|
|
169
|
-
*/
|
|
170
|
-
is_epilot_domain?: boolean;
|
|
171
|
-
/**
|
|
172
|
-
* example:
|
|
173
|
-
* 3134
|
|
174
|
-
*/
|
|
175
|
-
design_id?: string;
|
|
176
|
-
cognito_details?: {
|
|
177
|
-
/**
|
|
178
|
-
* example:
|
|
179
|
-
* 6bsd0jkgoie74k2i8mrhc1vest
|
|
180
|
-
*/
|
|
181
|
-
cognito_user_pool_client_id?: string;
|
|
11
|
+
namespace Schemas {
|
|
12
|
+
export interface AddPortalResp {
|
|
13
|
+
message?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface AuthConfig {
|
|
16
|
+
/**
|
|
17
|
+
* example:
|
|
18
|
+
* eu-central-1_CUEQRNbUb
|
|
19
|
+
*/
|
|
20
|
+
user_pool_id: string;
|
|
21
|
+
/**
|
|
22
|
+
* example:
|
|
23
|
+
* 6bsd0jkgoie74k2i8mrhc1vest
|
|
24
|
+
*/
|
|
25
|
+
user_pool_client_id: string;
|
|
26
|
+
/**
|
|
27
|
+
* example:
|
|
28
|
+
* eu-central-1:a63af1f7-ab86-4ab5-a0eb-f461cb37c2b1
|
|
29
|
+
*/
|
|
30
|
+
user_pool_identity_pool_id?: string;
|
|
31
|
+
/**
|
|
32
|
+
* example:
|
|
33
|
+
* 7h2hwdj7hhjsdcjkq03eidna3ep
|
|
34
|
+
*/
|
|
35
|
+
portal_id: string;
|
|
36
|
+
}
|
|
182
37
|
/**
|
|
183
38
|
* example:
|
|
184
|
-
*
|
|
39
|
+
* {
|
|
40
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
41
|
+
* "_org": "123",
|
|
42
|
+
* "_schema": "contact",
|
|
43
|
+
* "_tags": [
|
|
44
|
+
* "example",
|
|
45
|
+
* "mock"
|
|
46
|
+
* ],
|
|
47
|
+
* "_created_at": "2021-02-09T12:41:43.662Z",
|
|
48
|
+
* "_updated_at": "2021-02-09T12:41:43.662Z"
|
|
49
|
+
* }
|
|
185
50
|
*/
|
|
186
|
-
|
|
51
|
+
export interface BaseEntity {
|
|
52
|
+
_id: EntityId /* uuid */;
|
|
53
|
+
/**
|
|
54
|
+
* Title of entity
|
|
55
|
+
*/
|
|
56
|
+
_title: string;
|
|
57
|
+
/**
|
|
58
|
+
* Organization Id the entity belongs to
|
|
59
|
+
*/
|
|
60
|
+
_org: string;
|
|
61
|
+
_schema: /**
|
|
62
|
+
* URL-friendly identifier for the entity schema
|
|
63
|
+
* example:
|
|
64
|
+
* contact
|
|
65
|
+
*/
|
|
66
|
+
EntitySlug;
|
|
67
|
+
_tags?: string[];
|
|
68
|
+
_created_at: string; // date-time
|
|
69
|
+
_updated_at: string; // date-time
|
|
70
|
+
}
|
|
71
|
+
export interface Brand {
|
|
72
|
+
/**
|
|
73
|
+
* example:
|
|
74
|
+
* 12454
|
|
75
|
+
*/
|
|
76
|
+
id?: string;
|
|
77
|
+
/**
|
|
78
|
+
* example:
|
|
79
|
+
* 66
|
|
80
|
+
*/
|
|
81
|
+
organization_id?: string;
|
|
82
|
+
/**
|
|
83
|
+
* example:
|
|
84
|
+
* 3134
|
|
85
|
+
*/
|
|
86
|
+
design_id?: string;
|
|
87
|
+
/**
|
|
88
|
+
* example:
|
|
89
|
+
* abc.com
|
|
90
|
+
*/
|
|
91
|
+
domain?: string;
|
|
92
|
+
cognito_details?: {
|
|
93
|
+
/**
|
|
94
|
+
* example:
|
|
95
|
+
* 6bsd0jkgoie74k2i8mrhc1vest
|
|
96
|
+
*/
|
|
97
|
+
cognito_user_pool_client_id?: string;
|
|
98
|
+
/**
|
|
99
|
+
* example:
|
|
100
|
+
* arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
|
|
101
|
+
*/
|
|
102
|
+
cognito_user_pool_arn?: string;
|
|
103
|
+
/**
|
|
104
|
+
* example:
|
|
105
|
+
* eu-central-1_CUEQRNbUb
|
|
106
|
+
*/
|
|
107
|
+
cognito_user_pool_id?: string;
|
|
108
|
+
};
|
|
109
|
+
config?: string;
|
|
110
|
+
/**
|
|
111
|
+
* example:
|
|
112
|
+
* 1234
|
|
113
|
+
*/
|
|
114
|
+
secondary_identifier?: string;
|
|
115
|
+
/**
|
|
116
|
+
* example:
|
|
117
|
+
* CONFIGURING
|
|
118
|
+
*/
|
|
119
|
+
dnsStatus?: string;
|
|
120
|
+
dnsRecords?: {
|
|
121
|
+
/**
|
|
122
|
+
* example:
|
|
123
|
+
* _417aisu1ua82jf1fj1743nhsf9180a45.end-customer-portal.dev.epilot.io.
|
|
124
|
+
*/
|
|
125
|
+
name?: string;
|
|
126
|
+
/**
|
|
127
|
+
* example:
|
|
128
|
+
* CNAME
|
|
129
|
+
*/
|
|
130
|
+
type?: string;
|
|
131
|
+
/**
|
|
132
|
+
* example:
|
|
133
|
+
* _1b879ajs1746hk92hf81ghcch173gc91.bwlshdtstt.acm-validations.aws.
|
|
134
|
+
*/
|
|
135
|
+
value?: string;
|
|
136
|
+
}[];
|
|
137
|
+
cdnRecords?: {
|
|
138
|
+
/**
|
|
139
|
+
* example:
|
|
140
|
+
* end-customer-portal.dev.epilot.io.
|
|
141
|
+
*/
|
|
142
|
+
name?: string;
|
|
143
|
+
/**
|
|
144
|
+
* example:
|
|
145
|
+
* CNAME
|
|
146
|
+
*/
|
|
147
|
+
type?: string;
|
|
148
|
+
/**
|
|
149
|
+
* example:
|
|
150
|
+
* dm99ajd13901ne9.cloudfront.net
|
|
151
|
+
*/
|
|
152
|
+
value?: string;
|
|
153
|
+
}[];
|
|
154
|
+
}
|
|
155
|
+
export interface BrandCreate {
|
|
156
|
+
/**
|
|
157
|
+
* example:
|
|
158
|
+
* 12345
|
|
159
|
+
*/
|
|
160
|
+
id?: string;
|
|
161
|
+
/**
|
|
162
|
+
* example:
|
|
163
|
+
* test@test.com
|
|
164
|
+
*/
|
|
165
|
+
domain?: string;
|
|
166
|
+
/**
|
|
167
|
+
* example:
|
|
168
|
+
* true
|
|
169
|
+
*/
|
|
170
|
+
enabled?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* example:
|
|
173
|
+
* true
|
|
174
|
+
*/
|
|
175
|
+
is_epilot_domain?: boolean;
|
|
176
|
+
/**
|
|
177
|
+
* example:
|
|
178
|
+
* 3134
|
|
179
|
+
*/
|
|
180
|
+
design_id?: string;
|
|
181
|
+
cognito_details?: {
|
|
182
|
+
/**
|
|
183
|
+
* example:
|
|
184
|
+
* 6bsd0jkgoie74k2i8mrhc1vest
|
|
185
|
+
*/
|
|
186
|
+
cognito_user_pool_client_id?: string;
|
|
187
|
+
/**
|
|
188
|
+
* example:
|
|
189
|
+
* arn:aws:cognito-idp:us-east-1:123412341234:userpool/us-east-1_123412341
|
|
190
|
+
*/
|
|
191
|
+
cognito_user_pool_arn?: string;
|
|
192
|
+
/**
|
|
193
|
+
* example:
|
|
194
|
+
* eu-central-1_CUEQRNbUb
|
|
195
|
+
*/
|
|
196
|
+
cognito_user_pool_id?: string;
|
|
197
|
+
};
|
|
198
|
+
config?: string;
|
|
199
|
+
/**
|
|
200
|
+
* example:
|
|
201
|
+
* full_name
|
|
202
|
+
*/
|
|
203
|
+
contact_secondary_identifier?: string;
|
|
204
|
+
email_templates?: {
|
|
205
|
+
/**
|
|
206
|
+
* example:
|
|
207
|
+
* 701f089d-6953-48b5-ac35-442de7c59cd3
|
|
208
|
+
*/
|
|
209
|
+
confirmAccount?: string;
|
|
210
|
+
/**
|
|
211
|
+
* example:
|
|
212
|
+
* 6538fddb-f0e9-4f0f-af51-6e57891ff20a
|
|
213
|
+
*/
|
|
214
|
+
forgotPassword?: string;
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
export interface Entity {
|
|
218
|
+
[name: string]: any;
|
|
219
|
+
}
|
|
220
|
+
export type EntityId = string; // uuid
|
|
187
221
|
/**
|
|
188
222
|
* example:
|
|
189
|
-
*
|
|
223
|
+
* {
|
|
224
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
225
|
+
* "_org": "123",
|
|
226
|
+
* "_schema": "contact",
|
|
227
|
+
* "_tags": [
|
|
228
|
+
* "example",
|
|
229
|
+
* "mock"
|
|
230
|
+
* ],
|
|
231
|
+
* "_created_at": {},
|
|
232
|
+
* "_updated_at": {}
|
|
233
|
+
* }
|
|
190
234
|
*/
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
235
|
+
export interface EntityItem {
|
|
236
|
+
[name: string]: any;
|
|
237
|
+
_id: EntityId /* uuid */;
|
|
238
|
+
/**
|
|
239
|
+
* Title of entity
|
|
240
|
+
*/
|
|
241
|
+
_title: string;
|
|
242
|
+
/**
|
|
243
|
+
* Organization Id the entity belongs to
|
|
244
|
+
*/
|
|
245
|
+
_org: string;
|
|
246
|
+
_schema: /**
|
|
247
|
+
* URL-friendly identifier for the entity schema
|
|
248
|
+
* example:
|
|
249
|
+
* contact
|
|
250
|
+
*/
|
|
251
|
+
EntitySlug;
|
|
252
|
+
_tags?: string[];
|
|
253
|
+
_created_at: string; // date-time
|
|
254
|
+
_updated_at: string; // date-time
|
|
255
|
+
}
|
|
200
256
|
/**
|
|
257
|
+
* URL-friendly identifier for the entity schema
|
|
201
258
|
* example:
|
|
202
|
-
*
|
|
259
|
+
* contact
|
|
203
260
|
*/
|
|
204
|
-
|
|
261
|
+
export type EntitySlug = string;
|
|
262
|
+
export interface ErrorResp {
|
|
263
|
+
message?: string;
|
|
264
|
+
}
|
|
205
265
|
/**
|
|
206
266
|
* example:
|
|
207
|
-
*
|
|
267
|
+
* {
|
|
268
|
+
* "exists": true,
|
|
269
|
+
* "active": false
|
|
270
|
+
* }
|
|
208
271
|
*/
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
[name: string]: any;
|
|
232
|
-
_id: EntityId; // uuid
|
|
233
|
-
/**
|
|
234
|
-
* Title of entity
|
|
235
|
-
*/
|
|
236
|
-
_title: string;
|
|
237
|
-
/**
|
|
238
|
-
* Organization Id the entity belongs to
|
|
239
|
-
*/
|
|
240
|
-
_org: string;
|
|
241
|
-
_schema: EntitySlug;
|
|
242
|
-
_tags?: string[];
|
|
243
|
-
_created_at: string; // date-time
|
|
244
|
-
_updated_at: string; // date-time
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* URL-friendly identifier for the entity schema
|
|
248
|
-
* example:
|
|
249
|
-
* contact
|
|
250
|
-
*/
|
|
251
|
-
export type EntitySlug = string;
|
|
252
|
-
export interface ErrorResp {
|
|
253
|
-
message?: string;
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* example:
|
|
257
|
-
* {
|
|
258
|
-
* "exists": true,
|
|
259
|
-
* "active": false
|
|
260
|
-
* }
|
|
261
|
-
*/
|
|
262
|
-
export interface Exists {
|
|
263
|
-
exists: boolean;
|
|
264
|
-
active?: boolean;
|
|
265
|
-
}
|
|
266
|
-
export type InviteToken = string;
|
|
267
|
-
export interface PortalConfig {
|
|
268
|
-
auth_config?: AuthConfig;
|
|
272
|
+
export interface Exists {
|
|
273
|
+
exists: boolean;
|
|
274
|
+
active?: boolean;
|
|
275
|
+
}
|
|
276
|
+
export type InviteToken = string;
|
|
277
|
+
export interface PortalConfig {
|
|
278
|
+
auth_config?: AuthConfig;
|
|
279
|
+
}
|
|
280
|
+
export interface UserActivationPayload {
|
|
281
|
+
/**
|
|
282
|
+
* User's display name (default: email address)
|
|
283
|
+
* example:
|
|
284
|
+
* Example User
|
|
285
|
+
*/
|
|
286
|
+
display_name?: string;
|
|
287
|
+
/**
|
|
288
|
+
* User's password
|
|
289
|
+
* example:
|
|
290
|
+
* AKjhdakjsdh@!34
|
|
291
|
+
*/
|
|
292
|
+
password?: string;
|
|
293
|
+
}
|
|
269
294
|
}
|
|
270
|
-
export interface UserActivationPayload {
|
|
271
|
-
/**
|
|
272
|
-
* User's display name (default: email address)
|
|
273
|
-
* example:
|
|
274
|
-
* Example User
|
|
275
|
-
*/
|
|
276
|
-
display_name?: string;
|
|
277
|
-
/**
|
|
278
|
-
* User's password
|
|
279
|
-
* example:
|
|
280
|
-
* AKjhdakjsdh@!34
|
|
281
|
-
*/
|
|
282
|
-
password?: string;
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
295
|
}
|
|
286
296
|
declare namespace Paths {
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
297
|
+
namespace ActivateUser {
|
|
298
|
+
namespace Parameters {
|
|
299
|
+
export type Token = Components.Schemas.InviteToken;
|
|
300
|
+
}
|
|
301
|
+
export interface QueryParameters {
|
|
302
|
+
token: Parameters.Token;
|
|
303
|
+
}
|
|
304
|
+
export type RequestBody = Components.Schemas.UserActivationPayload;
|
|
305
|
+
namespace Responses {
|
|
306
|
+
export interface $200 {
|
|
307
|
+
}
|
|
308
|
+
export interface $404 {
|
|
309
|
+
}
|
|
310
|
+
}
|
|
290
311
|
}
|
|
291
|
-
|
|
292
|
-
|
|
312
|
+
namespace ConfigureDistribution {
|
|
313
|
+
namespace Parameters {
|
|
314
|
+
/**
|
|
315
|
+
* example:
|
|
316
|
+
* 123
|
|
317
|
+
*/
|
|
318
|
+
export type BrandId = string;
|
|
319
|
+
}
|
|
320
|
+
export interface QueryParameters {
|
|
321
|
+
brand_id: /**
|
|
322
|
+
* example:
|
|
323
|
+
* 123
|
|
324
|
+
*/
|
|
325
|
+
Parameters.BrandId;
|
|
326
|
+
}
|
|
327
|
+
namespace Responses {
|
|
328
|
+
export interface $200 {
|
|
329
|
+
/**
|
|
330
|
+
* example:
|
|
331
|
+
* dsj8op4ha01jha23.cloudfront.net
|
|
332
|
+
*/
|
|
333
|
+
domainName?: string;
|
|
334
|
+
}
|
|
335
|
+
}
|
|
293
336
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
337
|
+
namespace ConfirmUser {
|
|
338
|
+
namespace Parameters {
|
|
339
|
+
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
340
|
+
/**
|
|
341
|
+
* example:
|
|
342
|
+
* 123
|
|
343
|
+
*/
|
|
344
|
+
export type OrgId = string;
|
|
345
|
+
}
|
|
346
|
+
export interface PathParameters {
|
|
347
|
+
id: Parameters.Id;
|
|
348
|
+
}
|
|
349
|
+
export interface QueryParameters {
|
|
350
|
+
org_id: /**
|
|
351
|
+
* example:
|
|
352
|
+
* 123
|
|
353
|
+
*/
|
|
354
|
+
Parameters.OrgId;
|
|
355
|
+
}
|
|
356
|
+
namespace Responses {
|
|
357
|
+
export type $200 = /**
|
|
358
|
+
* example:
|
|
359
|
+
* {
|
|
360
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
361
|
+
* "_org": "123",
|
|
362
|
+
* "_schema": "contact",
|
|
363
|
+
* "_tags": [
|
|
364
|
+
* "example",
|
|
365
|
+
* "mock"
|
|
366
|
+
* ],
|
|
367
|
+
* "_created_at": {},
|
|
368
|
+
* "_updated_at": {}
|
|
369
|
+
* }
|
|
370
|
+
*/
|
|
371
|
+
Components.Schemas.EntityItem;
|
|
372
|
+
}
|
|
303
373
|
}
|
|
304
|
-
|
|
305
|
-
|
|
374
|
+
namespace CreateUser {
|
|
375
|
+
export interface RequestBody {
|
|
376
|
+
/**
|
|
377
|
+
* example:
|
|
378
|
+
* testemail921@yopmail.com
|
|
379
|
+
*/
|
|
380
|
+
email?: string;
|
|
381
|
+
/**
|
|
382
|
+
* example:
|
|
383
|
+
* Pass1234!
|
|
384
|
+
*/
|
|
385
|
+
password?: string;
|
|
386
|
+
/**
|
|
387
|
+
* example:
|
|
388
|
+
* 728
|
|
389
|
+
*/
|
|
390
|
+
orgId?: string;
|
|
391
|
+
/**
|
|
392
|
+
* example:
|
|
393
|
+
* eu-central-1_391JDA1HFO
|
|
394
|
+
*/
|
|
395
|
+
userPoolId?: string;
|
|
396
|
+
/**
|
|
397
|
+
* example:
|
|
398
|
+
* aj123jfoavnashf2fj
|
|
399
|
+
*/
|
|
400
|
+
clientId?: string;
|
|
401
|
+
/**
|
|
402
|
+
* example:
|
|
403
|
+
* 123456
|
|
404
|
+
*/
|
|
405
|
+
brandId?: string;
|
|
406
|
+
/**
|
|
407
|
+
* example:
|
|
408
|
+
* 123456
|
|
409
|
+
*/
|
|
410
|
+
secondaryIdentifier?: string;
|
|
411
|
+
/**
|
|
412
|
+
* example:
|
|
413
|
+
* 123456
|
|
414
|
+
*/
|
|
415
|
+
contactId?: string;
|
|
416
|
+
}
|
|
417
|
+
namespace Responses {
|
|
418
|
+
export type $201 = Components.Schemas.AddPortalResp;
|
|
419
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
420
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
421
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
422
|
+
}
|
|
306
423
|
}
|
|
307
|
-
namespace
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
424
|
+
namespace DeletePortalUser {
|
|
425
|
+
namespace Responses {
|
|
426
|
+
/**
|
|
427
|
+
* example:
|
|
428
|
+
* 123
|
|
429
|
+
*/
|
|
430
|
+
export type $200 = string;
|
|
431
|
+
}
|
|
315
432
|
}
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
433
|
+
namespace GetAllOpportunities {
|
|
434
|
+
namespace Responses {
|
|
435
|
+
export interface $200 {
|
|
436
|
+
data?: /**
|
|
437
|
+
* example:
|
|
438
|
+
* {
|
|
439
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
440
|
+
* "_org": "123",
|
|
441
|
+
* "_schema": "contact",
|
|
442
|
+
* "_tags": [
|
|
443
|
+
* "example",
|
|
444
|
+
* "mock"
|
|
445
|
+
* ],
|
|
446
|
+
* "_created_at": {},
|
|
447
|
+
* "_updated_at": {}
|
|
448
|
+
* }
|
|
449
|
+
*/
|
|
450
|
+
Components.Schemas.EntityItem[];
|
|
451
|
+
}
|
|
452
|
+
}
|
|
325
453
|
}
|
|
326
|
-
|
|
327
|
-
|
|
454
|
+
namespace GetAllOrders {
|
|
455
|
+
namespace Responses {
|
|
456
|
+
export interface $200 {
|
|
457
|
+
data?: /**
|
|
458
|
+
* example:
|
|
459
|
+
* {
|
|
460
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
461
|
+
* "_org": "123",
|
|
462
|
+
* "_schema": "contact",
|
|
463
|
+
* "_tags": [
|
|
464
|
+
* "example",
|
|
465
|
+
* "mock"
|
|
466
|
+
* ],
|
|
467
|
+
* "_created_at": {},
|
|
468
|
+
* "_updated_at": {}
|
|
469
|
+
* }
|
|
470
|
+
*/
|
|
471
|
+
Components.Schemas.EntityItem[];
|
|
472
|
+
}
|
|
473
|
+
}
|
|
328
474
|
}
|
|
329
|
-
|
|
330
|
-
|
|
475
|
+
namespace GetContact {
|
|
476
|
+
namespace Responses {
|
|
477
|
+
export type $200 = /**
|
|
478
|
+
* example:
|
|
479
|
+
* {
|
|
480
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
481
|
+
* "_org": "123",
|
|
482
|
+
* "_schema": "contact",
|
|
483
|
+
* "_tags": [
|
|
484
|
+
* "example",
|
|
485
|
+
* "mock"
|
|
486
|
+
* ],
|
|
487
|
+
* "_created_at": {},
|
|
488
|
+
* "_updated_at": {}
|
|
489
|
+
* }
|
|
490
|
+
*/
|
|
491
|
+
Components.Schemas.EntityItem;
|
|
492
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
493
|
+
}
|
|
331
494
|
}
|
|
332
|
-
namespace
|
|
333
|
-
|
|
495
|
+
namespace GetCountByEmail {
|
|
496
|
+
namespace Parameters {
|
|
497
|
+
/**
|
|
498
|
+
* example:
|
|
499
|
+
* test@test.com
|
|
500
|
+
*/
|
|
501
|
+
export type Email = string;
|
|
502
|
+
/**
|
|
503
|
+
* example:
|
|
504
|
+
* 123
|
|
505
|
+
*/
|
|
506
|
+
export type OrgId = string;
|
|
507
|
+
}
|
|
508
|
+
export interface QueryParameters {
|
|
509
|
+
email: /**
|
|
510
|
+
* example:
|
|
511
|
+
* test@test.com
|
|
512
|
+
*/
|
|
513
|
+
Parameters.Email;
|
|
514
|
+
org_id: /**
|
|
515
|
+
* example:
|
|
516
|
+
* 123
|
|
517
|
+
*/
|
|
518
|
+
Parameters.OrgId;
|
|
519
|
+
}
|
|
520
|
+
namespace Responses {
|
|
521
|
+
export interface $200 {
|
|
522
|
+
/**
|
|
523
|
+
* example:
|
|
524
|
+
* 2
|
|
525
|
+
*/
|
|
526
|
+
count?: number;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
334
529
|
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
/**
|
|
369
|
-
* example:
|
|
370
|
-
* 123456
|
|
371
|
-
*/
|
|
372
|
-
secondaryIdentifier?: string;
|
|
373
|
-
/**
|
|
374
|
-
* example:
|
|
375
|
-
* 123456
|
|
376
|
-
*/
|
|
377
|
-
contactId?: string;
|
|
530
|
+
namespace GetECPContact {
|
|
531
|
+
namespace Parameters {
|
|
532
|
+
/**
|
|
533
|
+
* example:
|
|
534
|
+
* 1234
|
|
535
|
+
*/
|
|
536
|
+
export type Id = string;
|
|
537
|
+
}
|
|
538
|
+
export interface QueryParameters {
|
|
539
|
+
id: /**
|
|
540
|
+
* example:
|
|
541
|
+
* 1234
|
|
542
|
+
*/
|
|
543
|
+
Parameters.Id;
|
|
544
|
+
}
|
|
545
|
+
namespace Responses {
|
|
546
|
+
export type $200 = /**
|
|
547
|
+
* example:
|
|
548
|
+
* {
|
|
549
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
550
|
+
* "_org": "123",
|
|
551
|
+
* "_schema": "contact",
|
|
552
|
+
* "_tags": [
|
|
553
|
+
* "example",
|
|
554
|
+
* "mock"
|
|
555
|
+
* ],
|
|
556
|
+
* "_created_at": {},
|
|
557
|
+
* "_updated_at": {}
|
|
558
|
+
* }
|
|
559
|
+
*/
|
|
560
|
+
Components.Schemas.EntityItem;
|
|
561
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
562
|
+
}
|
|
378
563
|
}
|
|
379
|
-
namespace
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
564
|
+
namespace GetOpportunity {
|
|
565
|
+
namespace Parameters {
|
|
566
|
+
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
567
|
+
}
|
|
568
|
+
export interface PathParameters {
|
|
569
|
+
id: Parameters.Id;
|
|
570
|
+
}
|
|
571
|
+
namespace Responses {
|
|
572
|
+
export interface $200 {
|
|
573
|
+
entity?: /**
|
|
574
|
+
* example:
|
|
575
|
+
* {
|
|
576
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
577
|
+
* "_org": "123",
|
|
578
|
+
* "_schema": "contact",
|
|
579
|
+
* "_tags": [
|
|
580
|
+
* "example",
|
|
581
|
+
* "mock"
|
|
582
|
+
* ],
|
|
583
|
+
* "_created_at": {},
|
|
584
|
+
* "_updated_at": {}
|
|
585
|
+
* }
|
|
586
|
+
*/
|
|
587
|
+
Components.Schemas.EntityItem;
|
|
588
|
+
relations?: /**
|
|
589
|
+
* example:
|
|
590
|
+
* {
|
|
591
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
592
|
+
* "_org": "123",
|
|
593
|
+
* "_schema": "contact",
|
|
594
|
+
* "_tags": [
|
|
595
|
+
* "example",
|
|
596
|
+
* "mock"
|
|
597
|
+
* ],
|
|
598
|
+
* "_created_at": {},
|
|
599
|
+
* "_updated_at": {}
|
|
600
|
+
* }
|
|
601
|
+
*/
|
|
602
|
+
Components.Schemas.EntityItem[];
|
|
603
|
+
}
|
|
604
|
+
}
|
|
384
605
|
}
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
606
|
+
namespace GetOrder {
|
|
607
|
+
namespace Parameters {
|
|
608
|
+
export type Id = Components.Schemas.EntityId /* uuid */;
|
|
609
|
+
}
|
|
610
|
+
export interface PathParameters {
|
|
611
|
+
id: Parameters.Id;
|
|
612
|
+
}
|
|
613
|
+
namespace Responses {
|
|
614
|
+
export interface $200 {
|
|
615
|
+
entity?: /**
|
|
616
|
+
* example:
|
|
617
|
+
* {
|
|
618
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
619
|
+
* "_org": "123",
|
|
620
|
+
* "_schema": "contact",
|
|
621
|
+
* "_tags": [
|
|
622
|
+
* "example",
|
|
623
|
+
* "mock"
|
|
624
|
+
* ],
|
|
625
|
+
* "_created_at": {},
|
|
626
|
+
* "_updated_at": {}
|
|
627
|
+
* }
|
|
628
|
+
*/
|
|
629
|
+
Components.Schemas.EntityItem;
|
|
630
|
+
relations?: /**
|
|
631
|
+
* example:
|
|
632
|
+
* {
|
|
633
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
634
|
+
* "_org": "123",
|
|
635
|
+
* "_schema": "contact",
|
|
636
|
+
* "_tags": [
|
|
637
|
+
* "example",
|
|
638
|
+
* "mock"
|
|
639
|
+
* ],
|
|
640
|
+
* "_created_at": {},
|
|
641
|
+
* "_updated_at": {}
|
|
642
|
+
* }
|
|
643
|
+
*/
|
|
644
|
+
Components.Schemas.EntityItem[];
|
|
645
|
+
}
|
|
646
|
+
}
|
|
393
647
|
}
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
data?: Components.Schemas.EntityItem[];
|
|
399
|
-
}
|
|
648
|
+
namespace GetOrgPortalConfig {
|
|
649
|
+
namespace Responses {
|
|
650
|
+
export type $200 = Components.Schemas.Brand;
|
|
651
|
+
}
|
|
400
652
|
}
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
653
|
+
namespace GetPortalConfig {
|
|
654
|
+
namespace Parameters {
|
|
655
|
+
/**
|
|
656
|
+
* example:
|
|
657
|
+
* 12324
|
|
658
|
+
*/
|
|
659
|
+
export type BrandId = string;
|
|
660
|
+
}
|
|
661
|
+
export interface QueryParameters {
|
|
662
|
+
brand_id: /**
|
|
663
|
+
* example:
|
|
664
|
+
* 12324
|
|
665
|
+
*/
|
|
666
|
+
Parameters.BrandId;
|
|
667
|
+
}
|
|
668
|
+
namespace Responses {
|
|
669
|
+
export type $200 = Components.Schemas.Brand;
|
|
670
|
+
}
|
|
407
671
|
}
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
672
|
+
namespace GetPortalConfigByDomain {
|
|
673
|
+
namespace Parameters {
|
|
674
|
+
/**
|
|
675
|
+
* example:
|
|
676
|
+
* example.com
|
|
677
|
+
*/
|
|
678
|
+
export type Domain = string;
|
|
679
|
+
}
|
|
680
|
+
export interface QueryParameters {
|
|
681
|
+
domain: /**
|
|
682
|
+
* example:
|
|
683
|
+
* example.com
|
|
684
|
+
*/
|
|
685
|
+
Parameters.Domain;
|
|
686
|
+
}
|
|
687
|
+
namespace Responses {
|
|
688
|
+
export type $200 = Components.Schemas.Brand;
|
|
689
|
+
}
|
|
413
690
|
}
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
691
|
+
namespace GetPortalUser {
|
|
692
|
+
namespace Responses {
|
|
693
|
+
export type $200 = /**
|
|
694
|
+
* example:
|
|
695
|
+
* {
|
|
696
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
697
|
+
* "_org": "123",
|
|
698
|
+
* "_schema": "contact",
|
|
699
|
+
* "_tags": [
|
|
700
|
+
* "example",
|
|
701
|
+
* "mock"
|
|
702
|
+
* ],
|
|
703
|
+
* "_created_at": {},
|
|
704
|
+
* "_updated_at": {}
|
|
705
|
+
* }
|
|
706
|
+
*/
|
|
707
|
+
Components.Schemas.EntityItem;
|
|
708
|
+
}
|
|
427
709
|
}
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
710
|
+
namespace GetPublicPortalConfig {
|
|
711
|
+
namespace Parameters {
|
|
712
|
+
/**
|
|
713
|
+
* example:
|
|
714
|
+
* 12324
|
|
715
|
+
*/
|
|
716
|
+
export type BrandId = string;
|
|
717
|
+
/**
|
|
718
|
+
* example:
|
|
719
|
+
* 12324
|
|
720
|
+
*/
|
|
721
|
+
export type OrgId = string;
|
|
722
|
+
}
|
|
723
|
+
export interface QueryParameters {
|
|
724
|
+
brand_id: /**
|
|
725
|
+
* example:
|
|
726
|
+
* 12324
|
|
727
|
+
*/
|
|
728
|
+
Parameters.BrandId;
|
|
729
|
+
org_id: /**
|
|
730
|
+
* example:
|
|
731
|
+
* 12324
|
|
732
|
+
*/
|
|
733
|
+
Parameters.OrgId;
|
|
734
|
+
}
|
|
735
|
+
namespace Responses {
|
|
736
|
+
export type $200 = Components.Schemas.Brand;
|
|
737
|
+
}
|
|
431
738
|
}
|
|
432
|
-
namespace
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
}
|
|
450
|
-
export interface QueryParameters {
|
|
451
|
-
id: Parameters.Id;
|
|
452
|
-
}
|
|
453
|
-
namespace Responses {
|
|
454
|
-
export type $200 = Components.Schemas.EntityItem;
|
|
455
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
456
|
-
}
|
|
457
|
-
}
|
|
458
|
-
namespace GetOpportunity {
|
|
459
|
-
namespace Parameters {
|
|
460
|
-
export type Id = Components.Schemas.EntityId; // uuid
|
|
461
|
-
}
|
|
462
|
-
export interface PathParameters {
|
|
463
|
-
id: Parameters.Id;
|
|
464
|
-
}
|
|
465
|
-
namespace Responses {
|
|
466
|
-
export interface $200 {
|
|
467
|
-
entity?: Components.Schemas.EntityItem;
|
|
468
|
-
relations?: Components.Schemas.EntityItem[];
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
namespace GetOrder {
|
|
473
|
-
namespace Parameters {
|
|
474
|
-
export type Id = Components.Schemas.EntityId; // uuid
|
|
475
|
-
}
|
|
476
|
-
export interface PathParameters {
|
|
477
|
-
id: Parameters.Id;
|
|
478
|
-
}
|
|
479
|
-
namespace Responses {
|
|
480
|
-
export interface $200 {
|
|
481
|
-
entity?: Components.Schemas.EntityItem;
|
|
482
|
-
relations?: Components.Schemas.EntityItem[];
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
namespace GetOrgPortalConfig {
|
|
487
|
-
namespace Responses {
|
|
488
|
-
export type $200 = Components.Schemas.Brand;
|
|
489
|
-
}
|
|
490
|
-
}
|
|
491
|
-
namespace GetPortalConfig {
|
|
492
|
-
namespace Parameters {
|
|
493
|
-
/**
|
|
494
|
-
* example:
|
|
495
|
-
* 12324
|
|
496
|
-
*/
|
|
497
|
-
export type BrandId = string;
|
|
498
|
-
}
|
|
499
|
-
export interface QueryParameters {
|
|
500
|
-
brand_id: Parameters.BrandId;
|
|
501
|
-
}
|
|
502
|
-
namespace Responses {
|
|
503
|
-
export type $200 = Components.Schemas.Brand;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
namespace GetPortalConfigByDomain {
|
|
507
|
-
namespace Parameters {
|
|
508
|
-
/**
|
|
509
|
-
* example:
|
|
510
|
-
* example.com
|
|
511
|
-
*/
|
|
512
|
-
export type Domain = string;
|
|
513
|
-
}
|
|
514
|
-
export interface QueryParameters {
|
|
515
|
-
domain: Parameters.Domain;
|
|
516
|
-
}
|
|
517
|
-
namespace Responses {
|
|
518
|
-
export type $200 = Components.Schemas.Brand;
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
namespace GetPortalUser {
|
|
522
|
-
namespace Responses {
|
|
523
|
-
export type $200 = Components.Schemas.EntityItem;
|
|
524
|
-
}
|
|
525
|
-
}
|
|
526
|
-
namespace GetPublicPortalConfig {
|
|
527
|
-
namespace Parameters {
|
|
528
|
-
/**
|
|
529
|
-
* example:
|
|
530
|
-
* 12324
|
|
531
|
-
*/
|
|
532
|
-
export type BrandId = string;
|
|
533
|
-
/**
|
|
534
|
-
* example:
|
|
535
|
-
* 12324
|
|
536
|
-
*/
|
|
537
|
-
export type OrgId = string;
|
|
538
|
-
}
|
|
539
|
-
export interface QueryParameters {
|
|
540
|
-
brand_id: Parameters.BrandId;
|
|
541
|
-
org_id: Parameters.OrgId;
|
|
739
|
+
namespace GetValidSecondaryAttributes {
|
|
740
|
+
namespace Responses {
|
|
741
|
+
export interface $200 {
|
|
742
|
+
data?: {
|
|
743
|
+
/**
|
|
744
|
+
* example:
|
|
745
|
+
* first_name
|
|
746
|
+
*/
|
|
747
|
+
name?: string;
|
|
748
|
+
/**
|
|
749
|
+
* example:
|
|
750
|
+
* string
|
|
751
|
+
*/
|
|
752
|
+
type?: string;
|
|
753
|
+
}[];
|
|
754
|
+
}
|
|
755
|
+
}
|
|
542
756
|
}
|
|
543
|
-
namespace
|
|
544
|
-
|
|
757
|
+
namespace TestAuth {
|
|
758
|
+
namespace Responses {
|
|
759
|
+
export interface $200 {
|
|
760
|
+
}
|
|
761
|
+
}
|
|
545
762
|
}
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
namespace Responses {
|
|
580
|
-
export type $201 = Components.Schemas.AddPortalResp;
|
|
581
|
-
export type $400 = Components.Schemas.ErrorResp;
|
|
582
|
-
export type $401 = Components.Schemas.ErrorResp;
|
|
583
|
-
export type $500 = Components.Schemas.ErrorResp;
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
namespace UserExists {
|
|
587
|
-
namespace Parameters {
|
|
588
|
-
/**
|
|
589
|
-
* example:
|
|
590
|
-
* user@example.com
|
|
591
|
-
*/
|
|
592
|
-
export type Email = string;
|
|
593
|
-
/**
|
|
594
|
-
* example:
|
|
595
|
-
* 123
|
|
596
|
-
*/
|
|
597
|
-
export type OrgId = string;
|
|
598
|
-
}
|
|
599
|
-
export interface QueryParameters {
|
|
600
|
-
email: Parameters.Email;
|
|
601
|
-
org_id: Parameters.OrgId;
|
|
763
|
+
namespace UpdateContact {
|
|
764
|
+
export type RequestBody = /**
|
|
765
|
+
* example:
|
|
766
|
+
* {
|
|
767
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
768
|
+
* "_org": "123",
|
|
769
|
+
* "_schema": "contact",
|
|
770
|
+
* "_tags": [
|
|
771
|
+
* "example",
|
|
772
|
+
* "mock"
|
|
773
|
+
* ],
|
|
774
|
+
* "_created_at": {},
|
|
775
|
+
* "_updated_at": {}
|
|
776
|
+
* }
|
|
777
|
+
*/
|
|
778
|
+
Components.Schemas.EntityItem;
|
|
779
|
+
namespace Responses {
|
|
780
|
+
export type $200 = /**
|
|
781
|
+
* example:
|
|
782
|
+
* {
|
|
783
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
784
|
+
* "_org": "123",
|
|
785
|
+
* "_schema": "contact",
|
|
786
|
+
* "_tags": [
|
|
787
|
+
* "example",
|
|
788
|
+
* "mock"
|
|
789
|
+
* ],
|
|
790
|
+
* "_created_at": {},
|
|
791
|
+
* "_updated_at": {}
|
|
792
|
+
* }
|
|
793
|
+
*/
|
|
794
|
+
Components.Schemas.EntityItem;
|
|
795
|
+
}
|
|
602
796
|
}
|
|
603
|
-
namespace
|
|
604
|
-
|
|
605
|
-
/**
|
|
797
|
+
namespace UpdateOrder {
|
|
798
|
+
export type RequestBody = /**
|
|
606
799
|
* example:
|
|
607
|
-
*
|
|
800
|
+
* {
|
|
801
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
802
|
+
* "_org": "123",
|
|
803
|
+
* "_schema": "contact",
|
|
804
|
+
* "_tags": [
|
|
805
|
+
* "example",
|
|
806
|
+
* "mock"
|
|
807
|
+
* ],
|
|
808
|
+
* "_created_at": {},
|
|
809
|
+
* "_updated_at": {}
|
|
810
|
+
* }
|
|
608
811
|
*/
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
812
|
+
Components.Schemas.EntityItem;
|
|
813
|
+
namespace Responses {
|
|
814
|
+
export type $200 = /**
|
|
815
|
+
* example:
|
|
816
|
+
* {
|
|
817
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
818
|
+
* "_org": "123",
|
|
819
|
+
* "_schema": "contact",
|
|
820
|
+
* "_tags": [
|
|
821
|
+
* "example",
|
|
822
|
+
* "mock"
|
|
823
|
+
* ],
|
|
824
|
+
* "_created_at": {},
|
|
825
|
+
* "_updated_at": {}
|
|
826
|
+
* }
|
|
827
|
+
*/
|
|
828
|
+
Components.Schemas.EntityItem;
|
|
829
|
+
}
|
|
830
|
+
}
|
|
831
|
+
namespace UpdatePortalUser {
|
|
832
|
+
export type RequestBody = /**
|
|
614
833
|
* example:
|
|
615
|
-
*
|
|
834
|
+
* {
|
|
835
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
836
|
+
* "_org": "123",
|
|
837
|
+
* "_schema": "contact",
|
|
838
|
+
* "_tags": [
|
|
839
|
+
* "example",
|
|
840
|
+
* "mock"
|
|
841
|
+
* ],
|
|
842
|
+
* "_created_at": {},
|
|
843
|
+
* "_updated_at": {}
|
|
844
|
+
* }
|
|
616
845
|
*/
|
|
617
|
-
|
|
618
|
-
|
|
846
|
+
Components.Schemas.EntityItem;
|
|
847
|
+
namespace Responses {
|
|
848
|
+
export type $200 = /**
|
|
849
|
+
* example:
|
|
850
|
+
* {
|
|
851
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
852
|
+
* "_org": "123",
|
|
853
|
+
* "_schema": "contact",
|
|
854
|
+
* "_tags": [
|
|
855
|
+
* "example",
|
|
856
|
+
* "mock"
|
|
857
|
+
* ],
|
|
858
|
+
* "_created_at": {},
|
|
859
|
+
* "_updated_at": {}
|
|
860
|
+
* }
|
|
861
|
+
*/
|
|
862
|
+
Components.Schemas.EntityItem;
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
namespace UpsertPortal {
|
|
866
|
+
export type RequestBody = Components.Schemas.BrandCreate;
|
|
867
|
+
namespace Responses {
|
|
868
|
+
export type $201 = Components.Schemas.AddPortalResp;
|
|
869
|
+
export type $400 = Components.Schemas.ErrorResp;
|
|
870
|
+
export type $401 = Components.Schemas.ErrorResp;
|
|
871
|
+
export type $500 = Components.Schemas.ErrorResp;
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
namespace UserExists {
|
|
875
|
+
namespace Parameters {
|
|
876
|
+
/**
|
|
877
|
+
* example:
|
|
878
|
+
* user@example.com
|
|
879
|
+
*/
|
|
880
|
+
export type Email = string;
|
|
881
|
+
/**
|
|
882
|
+
* example:
|
|
883
|
+
* 123
|
|
884
|
+
*/
|
|
885
|
+
export type OrgId = string;
|
|
886
|
+
}
|
|
887
|
+
export interface QueryParameters {
|
|
888
|
+
email: /**
|
|
889
|
+
* example:
|
|
890
|
+
* user@example.com
|
|
891
|
+
*/
|
|
892
|
+
Parameters.Email;
|
|
893
|
+
org_id: /**
|
|
894
|
+
* example:
|
|
895
|
+
* 123
|
|
896
|
+
*/
|
|
897
|
+
Parameters.OrgId;
|
|
898
|
+
}
|
|
899
|
+
namespace Responses {
|
|
900
|
+
export interface $200 {
|
|
901
|
+
/**
|
|
902
|
+
* example:
|
|
903
|
+
* true
|
|
904
|
+
*/
|
|
905
|
+
exists?: boolean;
|
|
906
|
+
user?: /**
|
|
907
|
+
* example:
|
|
908
|
+
* {
|
|
909
|
+
* "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
910
|
+
* "_org": "123",
|
|
911
|
+
* "_schema": "contact",
|
|
912
|
+
* "_tags": [
|
|
913
|
+
* "example",
|
|
914
|
+
* "mock"
|
|
915
|
+
* ],
|
|
916
|
+
* "_created_at": {},
|
|
917
|
+
* "_updated_at": {}
|
|
918
|
+
* }
|
|
919
|
+
*/
|
|
920
|
+
Components.Schemas.EntityItem;
|
|
921
|
+
}
|
|
922
|
+
export interface $404 {
|
|
923
|
+
/**
|
|
924
|
+
* example:
|
|
925
|
+
* false
|
|
926
|
+
*/
|
|
927
|
+
exists?: boolean;
|
|
928
|
+
}
|
|
929
|
+
}
|
|
619
930
|
}
|
|
620
|
-
}
|
|
621
931
|
}
|
|
622
932
|
|
|
623
933
|
export interface OperationMethods {
|
|
@@ -630,7 +940,7 @@ export interface OperationMethods {
|
|
|
630
940
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
631
941
|
data?: Paths.UpsertPortal.RequestBody,
|
|
632
942
|
config?: AxiosRequestConfig
|
|
633
|
-
): OperationResponse<Paths.UpsertPortal.Responses.$201
|
|
943
|
+
): OperationResponse<Paths.UpsertPortal.Responses.$201>
|
|
634
944
|
/**
|
|
635
945
|
* createUser - creates a user
|
|
636
946
|
*
|
|
@@ -640,7 +950,7 @@ export interface OperationMethods {
|
|
|
640
950
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
641
951
|
data?: Paths.CreateUser.RequestBody,
|
|
642
952
|
config?: AxiosRequestConfig
|
|
643
|
-
): OperationResponse<Paths.CreateUser.Responses.$201
|
|
953
|
+
): OperationResponse<Paths.CreateUser.Responses.$201>
|
|
644
954
|
/**
|
|
645
955
|
* activateUser - activateUser
|
|
646
956
|
*
|
|
@@ -650,7 +960,7 @@ export interface OperationMethods {
|
|
|
650
960
|
parameters?: Parameters<Paths.ActivateUser.QueryParameters> | null,
|
|
651
961
|
data?: Paths.ActivateUser.RequestBody,
|
|
652
962
|
config?: AxiosRequestConfig
|
|
653
|
-
): OperationResponse<
|
|
963
|
+
): OperationResponse<Paths.ActivateUser.Responses.$200>
|
|
654
964
|
/**
|
|
655
965
|
* testAuth - testAuth
|
|
656
966
|
*
|
|
@@ -660,7 +970,7 @@ export interface OperationMethods {
|
|
|
660
970
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
661
971
|
data?: any,
|
|
662
972
|
config?: AxiosRequestConfig
|
|
663
|
-
): OperationResponse<
|
|
973
|
+
): OperationResponse<Paths.TestAuth.Responses.$200>
|
|
664
974
|
/**
|
|
665
975
|
* getPortalConfigByDomain - getPortalConfigByDomain
|
|
666
976
|
*
|
|
@@ -710,7 +1020,7 @@ export interface OperationMethods {
|
|
|
710
1020
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
711
1021
|
data?: any,
|
|
712
1022
|
config?: AxiosRequestConfig
|
|
713
|
-
): OperationResponse<Paths.GetContact.Responses.$200
|
|
1023
|
+
): OperationResponse<Paths.GetContact.Responses.$200>
|
|
714
1024
|
/**
|
|
715
1025
|
* updateContact - updateContact
|
|
716
1026
|
*
|
|
@@ -730,7 +1040,7 @@ export interface OperationMethods {
|
|
|
730
1040
|
parameters?: Parameters<Paths.GetECPContact.QueryParameters> | null,
|
|
731
1041
|
data?: any,
|
|
732
1042
|
config?: AxiosRequestConfig
|
|
733
|
-
): OperationResponse<Paths.GetECPContact.Responses.$200
|
|
1043
|
+
): OperationResponse<Paths.GetECPContact.Responses.$200>
|
|
734
1044
|
/**
|
|
735
1045
|
* getCountByEmail - getCountByEmail
|
|
736
1046
|
*
|
|
@@ -800,7 +1110,7 @@ export interface OperationMethods {
|
|
|
800
1110
|
parameters?: Parameters<Paths.UserExists.QueryParameters> | null,
|
|
801
1111
|
data?: any,
|
|
802
1112
|
config?: AxiosRequestConfig
|
|
803
|
-
): OperationResponse<Paths.UserExists.Responses.$200
|
|
1113
|
+
): OperationResponse<Paths.UserExists.Responses.$200>
|
|
804
1114
|
/**
|
|
805
1115
|
* configureDistribution - configureDistribution
|
|
806
1116
|
*
|
|
@@ -821,6 +1131,16 @@ export interface OperationMethods {
|
|
|
821
1131
|
data?: any,
|
|
822
1132
|
config?: AxiosRequestConfig
|
|
823
1133
|
): OperationResponse<Paths.GetAllOrders.Responses.$200>
|
|
1134
|
+
/**
|
|
1135
|
+
* updateOrder - updateOrder
|
|
1136
|
+
*
|
|
1137
|
+
* Update the order details
|
|
1138
|
+
*/
|
|
1139
|
+
'updateOrder'(
|
|
1140
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1141
|
+
data?: Paths.UpdateOrder.RequestBody,
|
|
1142
|
+
config?: AxiosRequestConfig
|
|
1143
|
+
): OperationResponse<Paths.UpdateOrder.Responses.$200>
|
|
824
1144
|
/**
|
|
825
1145
|
* getOrder - getOrder
|
|
826
1146
|
*
|
|
@@ -864,7 +1184,7 @@ export interface PathsDictionary {
|
|
|
864
1184
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
865
1185
|
data?: Paths.UpsertPortal.RequestBody,
|
|
866
1186
|
config?: AxiosRequestConfig
|
|
867
|
-
): OperationResponse<Paths.UpsertPortal.Responses.$201
|
|
1187
|
+
): OperationResponse<Paths.UpsertPortal.Responses.$201>
|
|
868
1188
|
}
|
|
869
1189
|
['/v1/customer-portal/public/user']: {
|
|
870
1190
|
/**
|
|
@@ -876,7 +1196,7 @@ export interface PathsDictionary {
|
|
|
876
1196
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
877
1197
|
data?: Paths.CreateUser.RequestBody,
|
|
878
1198
|
config?: AxiosRequestConfig
|
|
879
|
-
): OperationResponse<Paths.CreateUser.Responses.$201
|
|
1199
|
+
): OperationResponse<Paths.CreateUser.Responses.$201>
|
|
880
1200
|
}
|
|
881
1201
|
['/v1/customer-portal/public/activate']: {
|
|
882
1202
|
/**
|
|
@@ -888,7 +1208,7 @@ export interface PathsDictionary {
|
|
|
888
1208
|
parameters?: Parameters<Paths.ActivateUser.QueryParameters> | null,
|
|
889
1209
|
data?: Paths.ActivateUser.RequestBody,
|
|
890
1210
|
config?: AxiosRequestConfig
|
|
891
|
-
): OperationResponse<
|
|
1211
|
+
): OperationResponse<Paths.ActivateUser.Responses.$200>
|
|
892
1212
|
}
|
|
893
1213
|
['/v1/customer-portal/auth']: {
|
|
894
1214
|
/**
|
|
@@ -900,7 +1220,7 @@ export interface PathsDictionary {
|
|
|
900
1220
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
901
1221
|
data?: any,
|
|
902
1222
|
config?: AxiosRequestConfig
|
|
903
|
-
): OperationResponse<
|
|
1223
|
+
): OperationResponse<Paths.TestAuth.Responses.$200>
|
|
904
1224
|
}
|
|
905
1225
|
['/v1/customer-portal/public/config']: {
|
|
906
1226
|
/**
|
|
@@ -960,7 +1280,7 @@ export interface PathsDictionary {
|
|
|
960
1280
|
parameters?: Parameters<UnknownParamsObject> | null,
|
|
961
1281
|
data?: any,
|
|
962
1282
|
config?: AxiosRequestConfig
|
|
963
|
-
): OperationResponse<Paths.GetContact.Responses.$200
|
|
1283
|
+
): OperationResponse<Paths.GetContact.Responses.$200>
|
|
964
1284
|
/**
|
|
965
1285
|
* updateContact - updateContact
|
|
966
1286
|
*
|
|
@@ -982,7 +1302,7 @@ export interface PathsDictionary {
|
|
|
982
1302
|
parameters?: Parameters<Paths.GetECPContact.QueryParameters> | null,
|
|
983
1303
|
data?: any,
|
|
984
1304
|
config?: AxiosRequestConfig
|
|
985
|
-
): OperationResponse<Paths.GetECPContact.Responses.$200
|
|
1305
|
+
): OperationResponse<Paths.GetECPContact.Responses.$200>
|
|
986
1306
|
}
|
|
987
1307
|
['/v1/customer-portal/contact/email/count']: {
|
|
988
1308
|
/**
|
|
@@ -1062,7 +1382,7 @@ export interface PathsDictionary {
|
|
|
1062
1382
|
parameters?: Parameters<Paths.UserExists.QueryParameters> | null,
|
|
1063
1383
|
data?: any,
|
|
1064
1384
|
config?: AxiosRequestConfig
|
|
1065
|
-
): OperationResponse<Paths.UserExists.Responses.$200
|
|
1385
|
+
): OperationResponse<Paths.UserExists.Responses.$200>
|
|
1066
1386
|
}
|
|
1067
1387
|
['/v1/customer-portal/configure-distribution']: {
|
|
1068
1388
|
/**
|
|
@@ -1087,6 +1407,16 @@ export interface PathsDictionary {
|
|
|
1087
1407
|
data?: any,
|
|
1088
1408
|
config?: AxiosRequestConfig
|
|
1089
1409
|
): OperationResponse<Paths.GetAllOrders.Responses.$200>
|
|
1410
|
+
/**
|
|
1411
|
+
* updateOrder - updateOrder
|
|
1412
|
+
*
|
|
1413
|
+
* Update the order details
|
|
1414
|
+
*/
|
|
1415
|
+
'patch'(
|
|
1416
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1417
|
+
data?: Paths.UpdateOrder.RequestBody,
|
|
1418
|
+
config?: AxiosRequestConfig
|
|
1419
|
+
): OperationResponse<Paths.UpdateOrder.Responses.$200>
|
|
1090
1420
|
}
|
|
1091
1421
|
['/v1/customer-portal/order/{id}']: {
|
|
1092
1422
|
/**
|