yellowgrid-api-ts 3.2.36 → 3.2.37
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/.openapi-generator/FILES +9 -0
- package/README.md +14 -0
- package/api.ts +746 -0
- package/dist/api.d.ts +490 -0
- package/dist/api.js +561 -3
- package/docs/EventDTO.md +35 -0
- package/docs/EventRequestDTO.md +25 -0
- package/docs/EventSubscriptionModel.md +23 -0
- package/docs/EventUpdateDTO.md +27 -0
- package/docs/EventUpdateEntity.md +29 -0
- package/docs/EventUpdateRequestDTO.md +23 -0
- package/docs/ServiceHealthDTO.md +23 -0
- package/docs/ServiceStatusDTO.md +27 -0
- package/docs/ServicesApi.md +330 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2375,6 +2375,245 @@ export interface EdTechProSetupModel {
|
|
|
2375
2375
|
*/
|
|
2376
2376
|
'installed'?: boolean;
|
|
2377
2377
|
}
|
|
2378
|
+
/**
|
|
2379
|
+
* Service Event DTO
|
|
2380
|
+
* @export
|
|
2381
|
+
* @interface EventDTO
|
|
2382
|
+
*/
|
|
2383
|
+
export interface EventDTO {
|
|
2384
|
+
/**
|
|
2385
|
+
* Service Event Title
|
|
2386
|
+
* @type {string}
|
|
2387
|
+
* @memberof EventDTO
|
|
2388
|
+
*/
|
|
2389
|
+
'title'?: string;
|
|
2390
|
+
/**
|
|
2391
|
+
* Service Event Type
|
|
2392
|
+
* @type {number}
|
|
2393
|
+
* @memberof EventDTO
|
|
2394
|
+
*/
|
|
2395
|
+
'type'?: EventDTOTypeEnum;
|
|
2396
|
+
/**
|
|
2397
|
+
* Service Impacted
|
|
2398
|
+
* @type {number}
|
|
2399
|
+
* @memberof EventDTO
|
|
2400
|
+
*/
|
|
2401
|
+
'service'?: EventDTOServiceEnum;
|
|
2402
|
+
/**
|
|
2403
|
+
* Event Status Description
|
|
2404
|
+
* @type {string}
|
|
2405
|
+
* @memberof EventDTO
|
|
2406
|
+
*/
|
|
2407
|
+
'statusName'?: string;
|
|
2408
|
+
/**
|
|
2409
|
+
* Event Type Description
|
|
2410
|
+
* @type {string}
|
|
2411
|
+
* @memberof EventDTO
|
|
2412
|
+
*/
|
|
2413
|
+
'typeName'?: string;
|
|
2414
|
+
/**
|
|
2415
|
+
* Service Event ID
|
|
2416
|
+
* @type {number}
|
|
2417
|
+
* @memberof EventDTO
|
|
2418
|
+
*/
|
|
2419
|
+
'id'?: number;
|
|
2420
|
+
/**
|
|
2421
|
+
* Service Event Status
|
|
2422
|
+
* @type {number}
|
|
2423
|
+
* @memberof EventDTO
|
|
2424
|
+
*/
|
|
2425
|
+
'status'?: EventDTOStatusEnum;
|
|
2426
|
+
/**
|
|
2427
|
+
* Service Event Updates
|
|
2428
|
+
* @type {Array<EventUpdateDTO>}
|
|
2429
|
+
* @memberof EventDTO
|
|
2430
|
+
*/
|
|
2431
|
+
'updates'?: Array<EventUpdateDTO>;
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
export const EventDTOTypeEnum = {
|
|
2435
|
+
NUMBER_0: 0,
|
|
2436
|
+
NUMBER_1: 1
|
|
2437
|
+
} as const;
|
|
2438
|
+
|
|
2439
|
+
export type EventDTOTypeEnum = typeof EventDTOTypeEnum[keyof typeof EventDTOTypeEnum];
|
|
2440
|
+
export const EventDTOServiceEnum = {
|
|
2441
|
+
NUMBER_0: 0,
|
|
2442
|
+
NUMBER_1: 1
|
|
2443
|
+
} as const;
|
|
2444
|
+
|
|
2445
|
+
export type EventDTOServiceEnum = typeof EventDTOServiceEnum[keyof typeof EventDTOServiceEnum];
|
|
2446
|
+
export const EventDTOStatusEnum = {
|
|
2447
|
+
NUMBER_0: 0,
|
|
2448
|
+
NUMBER_1: 1,
|
|
2449
|
+
NUMBER_2: 2
|
|
2450
|
+
} as const;
|
|
2451
|
+
|
|
2452
|
+
export type EventDTOStatusEnum = typeof EventDTOStatusEnum[keyof typeof EventDTOStatusEnum];
|
|
2453
|
+
|
|
2454
|
+
/**
|
|
2455
|
+
* Service Event Request DTO
|
|
2456
|
+
* @export
|
|
2457
|
+
* @interface EventRequestDTO
|
|
2458
|
+
*/
|
|
2459
|
+
export interface EventRequestDTO {
|
|
2460
|
+
/**
|
|
2461
|
+
* Service Event Title
|
|
2462
|
+
* @type {string}
|
|
2463
|
+
* @memberof EventRequestDTO
|
|
2464
|
+
*/
|
|
2465
|
+
'title'?: string;
|
|
2466
|
+
/**
|
|
2467
|
+
* Service Event Type
|
|
2468
|
+
* @type {number}
|
|
2469
|
+
* @memberof EventRequestDTO
|
|
2470
|
+
*/
|
|
2471
|
+
'type'?: EventRequestDTOTypeEnum;
|
|
2472
|
+
/**
|
|
2473
|
+
* Service Impacted
|
|
2474
|
+
* @type {number}
|
|
2475
|
+
* @memberof EventRequestDTO
|
|
2476
|
+
*/
|
|
2477
|
+
'service'?: EventRequestDTOServiceEnum;
|
|
2478
|
+
}
|
|
2479
|
+
|
|
2480
|
+
export const EventRequestDTOTypeEnum = {
|
|
2481
|
+
NUMBER_0: 0,
|
|
2482
|
+
NUMBER_1: 1
|
|
2483
|
+
} as const;
|
|
2484
|
+
|
|
2485
|
+
export type EventRequestDTOTypeEnum = typeof EventRequestDTOTypeEnum[keyof typeof EventRequestDTOTypeEnum];
|
|
2486
|
+
export const EventRequestDTOServiceEnum = {
|
|
2487
|
+
NUMBER_0: 0,
|
|
2488
|
+
NUMBER_1: 1
|
|
2489
|
+
} as const;
|
|
2490
|
+
|
|
2491
|
+
export type EventRequestDTOServiceEnum = typeof EventRequestDTOServiceEnum[keyof typeof EventRequestDTOServiceEnum];
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* Service Event Subscribption Model
|
|
2495
|
+
* @export
|
|
2496
|
+
* @interface EventSubscriptionModel
|
|
2497
|
+
*/
|
|
2498
|
+
export interface EventSubscriptionModel {
|
|
2499
|
+
/**
|
|
2500
|
+
* id
|
|
2501
|
+
* @type {string}
|
|
2502
|
+
* @memberof EventSubscriptionModel
|
|
2503
|
+
*/
|
|
2504
|
+
'id'?: string;
|
|
2505
|
+
/**
|
|
2506
|
+
* email
|
|
2507
|
+
* @type {string}
|
|
2508
|
+
* @memberof EventSubscriptionModel
|
|
2509
|
+
*/
|
|
2510
|
+
'email'?: string;
|
|
2511
|
+
}
|
|
2512
|
+
/**
|
|
2513
|
+
* Service Event Update DTO
|
|
2514
|
+
* @export
|
|
2515
|
+
* @interface EventUpdateDTO
|
|
2516
|
+
*/
|
|
2517
|
+
export interface EventUpdateDTO {
|
|
2518
|
+
/**
|
|
2519
|
+
* Service Event Update Message
|
|
2520
|
+
* @type {string}
|
|
2521
|
+
* @memberof EventUpdateDTO
|
|
2522
|
+
*/
|
|
2523
|
+
'message'?: string;
|
|
2524
|
+
/**
|
|
2525
|
+
* Service Event Update Type
|
|
2526
|
+
* @type {number}
|
|
2527
|
+
* @memberof EventUpdateDTO
|
|
2528
|
+
*/
|
|
2529
|
+
'type'?: EventUpdateDTOTypeEnum;
|
|
2530
|
+
/**
|
|
2531
|
+
* Service Event Update Type Description
|
|
2532
|
+
* @type {string}
|
|
2533
|
+
* @memberof EventUpdateDTO
|
|
2534
|
+
*/
|
|
2535
|
+
'typeName'?: string;
|
|
2536
|
+
/**
|
|
2537
|
+
* Date Time
|
|
2538
|
+
* @type {string}
|
|
2539
|
+
* @memberof EventUpdateDTO
|
|
2540
|
+
*/
|
|
2541
|
+
'createdAt'?: string;
|
|
2542
|
+
}
|
|
2543
|
+
|
|
2544
|
+
export const EventUpdateDTOTypeEnum = {
|
|
2545
|
+
NUMBER_0: 0,
|
|
2546
|
+
NUMBER_1: 1,
|
|
2547
|
+
NUMBER_2: 2
|
|
2548
|
+
} as const;
|
|
2549
|
+
|
|
2550
|
+
export type EventUpdateDTOTypeEnum = typeof EventUpdateDTOTypeEnum[keyof typeof EventUpdateDTOTypeEnum];
|
|
2551
|
+
|
|
2552
|
+
/**
|
|
2553
|
+
* Event Update Entity
|
|
2554
|
+
* @export
|
|
2555
|
+
* @interface EventUpdateEntity
|
|
2556
|
+
*/
|
|
2557
|
+
export interface EventUpdateEntity {
|
|
2558
|
+
/**
|
|
2559
|
+
* id
|
|
2560
|
+
* @type {number}
|
|
2561
|
+
* @memberof EventUpdateEntity
|
|
2562
|
+
*/
|
|
2563
|
+
'id'?: number;
|
|
2564
|
+
/**
|
|
2565
|
+
* eventId
|
|
2566
|
+
* @type {number}
|
|
2567
|
+
* @memberof EventUpdateEntity
|
|
2568
|
+
*/
|
|
2569
|
+
'eventId'?: number;
|
|
2570
|
+
/**
|
|
2571
|
+
* message
|
|
2572
|
+
* @type {string}
|
|
2573
|
+
* @memberof EventUpdateEntity
|
|
2574
|
+
*/
|
|
2575
|
+
'message'?: string;
|
|
2576
|
+
/**
|
|
2577
|
+
* type
|
|
2578
|
+
* @type {number}
|
|
2579
|
+
* @memberof EventUpdateEntity
|
|
2580
|
+
*/
|
|
2581
|
+
'type'?: number;
|
|
2582
|
+
/**
|
|
2583
|
+
* createdAt
|
|
2584
|
+
* @type {string}
|
|
2585
|
+
* @memberof EventUpdateEntity
|
|
2586
|
+
*/
|
|
2587
|
+
'createdAt'?: string;
|
|
2588
|
+
}
|
|
2589
|
+
/**
|
|
2590
|
+
* Service Event Update Request DTO
|
|
2591
|
+
* @export
|
|
2592
|
+
* @interface EventUpdateRequestDTO
|
|
2593
|
+
*/
|
|
2594
|
+
export interface EventUpdateRequestDTO {
|
|
2595
|
+
/**
|
|
2596
|
+
* Service Event Update Message
|
|
2597
|
+
* @type {string}
|
|
2598
|
+
* @memberof EventUpdateRequestDTO
|
|
2599
|
+
*/
|
|
2600
|
+
'message'?: string;
|
|
2601
|
+
/**
|
|
2602
|
+
* Service Event Update Type
|
|
2603
|
+
* @type {number}
|
|
2604
|
+
* @memberof EventUpdateRequestDTO
|
|
2605
|
+
*/
|
|
2606
|
+
'type'?: EventUpdateRequestDTOTypeEnum;
|
|
2607
|
+
}
|
|
2608
|
+
|
|
2609
|
+
export const EventUpdateRequestDTOTypeEnum = {
|
|
2610
|
+
NUMBER_0: 0,
|
|
2611
|
+
NUMBER_1: 1,
|
|
2612
|
+
NUMBER_2: 2
|
|
2613
|
+
} as const;
|
|
2614
|
+
|
|
2615
|
+
export type EventUpdateRequestDTOTypeEnum = typeof EventUpdateRequestDTOTypeEnum[keyof typeof EventUpdateRequestDTOTypeEnum];
|
|
2616
|
+
|
|
2378
2617
|
/**
|
|
2379
2618
|
* Fraud Management
|
|
2380
2619
|
* @export
|
|
@@ -5296,6 +5535,74 @@ export interface ScopeModel {
|
|
|
5296
5535
|
*/
|
|
5297
5536
|
'description'?: string;
|
|
5298
5537
|
}
|
|
5538
|
+
/**
|
|
5539
|
+
* Service Health DTO
|
|
5540
|
+
* @export
|
|
5541
|
+
* @interface ServiceHealthDTO
|
|
5542
|
+
*/
|
|
5543
|
+
export interface ServiceHealthDTO {
|
|
5544
|
+
/**
|
|
5545
|
+
*
|
|
5546
|
+
* @type {Array<ServiceStatusDTO>}
|
|
5547
|
+
* @memberof ServiceHealthDTO
|
|
5548
|
+
*/
|
|
5549
|
+
'services'?: Array<ServiceStatusDTO>;
|
|
5550
|
+
/**
|
|
5551
|
+
*
|
|
5552
|
+
* @type {number}
|
|
5553
|
+
* @memberof ServiceHealthDTO
|
|
5554
|
+
*/
|
|
5555
|
+
'globalStatus'?: ServiceHealthDTOGlobalStatusEnum;
|
|
5556
|
+
}
|
|
5557
|
+
|
|
5558
|
+
export const ServiceHealthDTOGlobalStatusEnum = {
|
|
5559
|
+
NUMBER_0: 0,
|
|
5560
|
+
NUMBER_1: 1,
|
|
5561
|
+
NUMBER_2: 2
|
|
5562
|
+
} as const;
|
|
5563
|
+
|
|
5564
|
+
export type ServiceHealthDTOGlobalStatusEnum = typeof ServiceHealthDTOGlobalStatusEnum[keyof typeof ServiceHealthDTOGlobalStatusEnum];
|
|
5565
|
+
|
|
5566
|
+
/**
|
|
5567
|
+
* Service Status DTO
|
|
5568
|
+
* @export
|
|
5569
|
+
* @interface ServiceStatusDTO
|
|
5570
|
+
*/
|
|
5571
|
+
export interface ServiceStatusDTO {
|
|
5572
|
+
/**
|
|
5573
|
+
* Service Status Description
|
|
5574
|
+
* @type {string}
|
|
5575
|
+
* @memberof ServiceStatusDTO
|
|
5576
|
+
*/
|
|
5577
|
+
'statusName'?: string;
|
|
5578
|
+
/**
|
|
5579
|
+
* Service Name
|
|
5580
|
+
* @type {string}
|
|
5581
|
+
* @memberof ServiceStatusDTO
|
|
5582
|
+
*/
|
|
5583
|
+
'name'?: string;
|
|
5584
|
+
/**
|
|
5585
|
+
* Service Status
|
|
5586
|
+
* @type {number}
|
|
5587
|
+
* @memberof ServiceStatusDTO
|
|
5588
|
+
*/
|
|
5589
|
+
'status'?: ServiceStatusDTOStatusEnum;
|
|
5590
|
+
/**
|
|
5591
|
+
* Service Events
|
|
5592
|
+
* @type {Array<EventDTO>}
|
|
5593
|
+
* @memberof ServiceStatusDTO
|
|
5594
|
+
*/
|
|
5595
|
+
'events'?: Array<EventDTO>;
|
|
5596
|
+
}
|
|
5597
|
+
|
|
5598
|
+
export const ServiceStatusDTOStatusEnum = {
|
|
5599
|
+
NUMBER_0: 0,
|
|
5600
|
+
NUMBER_1: 1,
|
|
5601
|
+
NUMBER_2: 2
|
|
5602
|
+
} as const;
|
|
5603
|
+
|
|
5604
|
+
export type ServiceStatusDTOStatusEnum = typeof ServiceStatusDTOStatusEnum[keyof typeof ServiceStatusDTOStatusEnum];
|
|
5605
|
+
|
|
5299
5606
|
/**
|
|
5300
5607
|
* ShipmentAddressEntity
|
|
5301
5608
|
* @export
|
|
@@ -20843,6 +21150,445 @@ export class SMSApi extends BaseAPI {
|
|
|
20843
21150
|
|
|
20844
21151
|
|
|
20845
21152
|
|
|
21153
|
+
/**
|
|
21154
|
+
* ServicesApi - axios parameter creator
|
|
21155
|
+
* @export
|
|
21156
|
+
*/
|
|
21157
|
+
export const ServicesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
21158
|
+
return {
|
|
21159
|
+
/**
|
|
21160
|
+
*
|
|
21161
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
21162
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
21163
|
+
* @param {*} [options] Override http request option.
|
|
21164
|
+
* @throws {RequiredError}
|
|
21165
|
+
*/
|
|
21166
|
+
deleteUnsubscribe: async (id?: string, email?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21167
|
+
const localVarPath = `/services/events/unsubscribe`;
|
|
21168
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21169
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21170
|
+
let baseOptions;
|
|
21171
|
+
if (configuration) {
|
|
21172
|
+
baseOptions = configuration.baseOptions;
|
|
21173
|
+
}
|
|
21174
|
+
|
|
21175
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
21176
|
+
const localVarHeaderParameter = {} as any;
|
|
21177
|
+
const localVarQueryParameter = {} as any;
|
|
21178
|
+
|
|
21179
|
+
if (id !== undefined) {
|
|
21180
|
+
localVarQueryParameter['id'] = id;
|
|
21181
|
+
}
|
|
21182
|
+
|
|
21183
|
+
if (email !== undefined) {
|
|
21184
|
+
localVarQueryParameter['email'] = email;
|
|
21185
|
+
}
|
|
21186
|
+
|
|
21187
|
+
|
|
21188
|
+
|
|
21189
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21190
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21191
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21192
|
+
|
|
21193
|
+
return {
|
|
21194
|
+
url: toPathString(localVarUrlObj),
|
|
21195
|
+
options: localVarRequestOptions,
|
|
21196
|
+
};
|
|
21197
|
+
},
|
|
21198
|
+
/**
|
|
21199
|
+
*
|
|
21200
|
+
* @param {*} [options] Override http request option.
|
|
21201
|
+
* @throws {RequiredError}
|
|
21202
|
+
*/
|
|
21203
|
+
getGetServiceHealth: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21204
|
+
const localVarPath = `/services/health`;
|
|
21205
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21206
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21207
|
+
let baseOptions;
|
|
21208
|
+
if (configuration) {
|
|
21209
|
+
baseOptions = configuration.baseOptions;
|
|
21210
|
+
}
|
|
21211
|
+
|
|
21212
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21213
|
+
const localVarHeaderParameter = {} as any;
|
|
21214
|
+
const localVarQueryParameter = {} as any;
|
|
21215
|
+
|
|
21216
|
+
|
|
21217
|
+
|
|
21218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21220
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21221
|
+
|
|
21222
|
+
return {
|
|
21223
|
+
url: toPathString(localVarUrlObj),
|
|
21224
|
+
options: localVarRequestOptions,
|
|
21225
|
+
};
|
|
21226
|
+
},
|
|
21227
|
+
/**
|
|
21228
|
+
*
|
|
21229
|
+
* @param {number} id Group ID
|
|
21230
|
+
* @param {*} [options] Override http request option.
|
|
21231
|
+
* @throws {RequiredError}
|
|
21232
|
+
*/
|
|
21233
|
+
patchArchiveEvent: async (id: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21234
|
+
// verify required parameter 'id' is not null or undefined
|
|
21235
|
+
assertParamExists('patchArchiveEvent', 'id', id)
|
|
21236
|
+
const localVarPath = `/services/events/{id}/archive`
|
|
21237
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
21238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21240
|
+
let baseOptions;
|
|
21241
|
+
if (configuration) {
|
|
21242
|
+
baseOptions = configuration.baseOptions;
|
|
21243
|
+
}
|
|
21244
|
+
|
|
21245
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
21246
|
+
const localVarHeaderParameter = {} as any;
|
|
21247
|
+
const localVarQueryParameter = {} as any;
|
|
21248
|
+
|
|
21249
|
+
|
|
21250
|
+
|
|
21251
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21253
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21254
|
+
|
|
21255
|
+
return {
|
|
21256
|
+
url: toPathString(localVarUrlObj),
|
|
21257
|
+
options: localVarRequestOptions,
|
|
21258
|
+
};
|
|
21259
|
+
},
|
|
21260
|
+
/**
|
|
21261
|
+
*
|
|
21262
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
21263
|
+
* @param {*} [options] Override http request option.
|
|
21264
|
+
* @throws {RequiredError}
|
|
21265
|
+
*/
|
|
21266
|
+
postCreateEvent: async (eventRequestDTO?: EventRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21267
|
+
const localVarPath = `/services/events`;
|
|
21268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21269
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21270
|
+
let baseOptions;
|
|
21271
|
+
if (configuration) {
|
|
21272
|
+
baseOptions = configuration.baseOptions;
|
|
21273
|
+
}
|
|
21274
|
+
|
|
21275
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21276
|
+
const localVarHeaderParameter = {} as any;
|
|
21277
|
+
const localVarQueryParameter = {} as any;
|
|
21278
|
+
|
|
21279
|
+
|
|
21280
|
+
|
|
21281
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21282
|
+
|
|
21283
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21285
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21286
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventRequestDTO, localVarRequestOptions, configuration)
|
|
21287
|
+
|
|
21288
|
+
return {
|
|
21289
|
+
url: toPathString(localVarUrlObj),
|
|
21290
|
+
options: localVarRequestOptions,
|
|
21291
|
+
};
|
|
21292
|
+
},
|
|
21293
|
+
/**
|
|
21294
|
+
*
|
|
21295
|
+
* @param {number} id Group ID
|
|
21296
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
21297
|
+
* @param {*} [options] Override http request option.
|
|
21298
|
+
* @throws {RequiredError}
|
|
21299
|
+
*/
|
|
21300
|
+
postCreateEventUpdate: async (id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21301
|
+
// verify required parameter 'id' is not null or undefined
|
|
21302
|
+
assertParamExists('postCreateEventUpdate', 'id', id)
|
|
21303
|
+
const localVarPath = `/services/events/{id}/updates`
|
|
21304
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
21305
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21306
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21307
|
+
let baseOptions;
|
|
21308
|
+
if (configuration) {
|
|
21309
|
+
baseOptions = configuration.baseOptions;
|
|
21310
|
+
}
|
|
21311
|
+
|
|
21312
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21313
|
+
const localVarHeaderParameter = {} as any;
|
|
21314
|
+
const localVarQueryParameter = {} as any;
|
|
21315
|
+
|
|
21316
|
+
|
|
21317
|
+
|
|
21318
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21319
|
+
|
|
21320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21322
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventUpdateRequestDTO, localVarRequestOptions, configuration)
|
|
21324
|
+
|
|
21325
|
+
return {
|
|
21326
|
+
url: toPathString(localVarUrlObj),
|
|
21327
|
+
options: localVarRequestOptions,
|
|
21328
|
+
};
|
|
21329
|
+
},
|
|
21330
|
+
/**
|
|
21331
|
+
*
|
|
21332
|
+
* @param {string} [email] Subscription Email Address
|
|
21333
|
+
* @param {*} [options] Override http request option.
|
|
21334
|
+
* @throws {RequiredError}
|
|
21335
|
+
*/
|
|
21336
|
+
postSubscribe: async (email?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21337
|
+
const localVarPath = `/services/events/subscribe`;
|
|
21338
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21339
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21340
|
+
let baseOptions;
|
|
21341
|
+
if (configuration) {
|
|
21342
|
+
baseOptions = configuration.baseOptions;
|
|
21343
|
+
}
|
|
21344
|
+
|
|
21345
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21346
|
+
const localVarHeaderParameter = {} as any;
|
|
21347
|
+
const localVarQueryParameter = {} as any;
|
|
21348
|
+
|
|
21349
|
+
if (email !== undefined) {
|
|
21350
|
+
localVarQueryParameter['email'] = email;
|
|
21351
|
+
}
|
|
21352
|
+
|
|
21353
|
+
|
|
21354
|
+
|
|
21355
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21356
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21357
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21358
|
+
|
|
21359
|
+
return {
|
|
21360
|
+
url: toPathString(localVarUrlObj),
|
|
21361
|
+
options: localVarRequestOptions,
|
|
21362
|
+
};
|
|
21363
|
+
},
|
|
21364
|
+
}
|
|
21365
|
+
};
|
|
21366
|
+
|
|
21367
|
+
/**
|
|
21368
|
+
* ServicesApi - functional programming interface
|
|
21369
|
+
* @export
|
|
21370
|
+
*/
|
|
21371
|
+
export const ServicesApiFp = function(configuration?: Configuration) {
|
|
21372
|
+
const localVarAxiosParamCreator = ServicesApiAxiosParamCreator(configuration)
|
|
21373
|
+
return {
|
|
21374
|
+
/**
|
|
21375
|
+
*
|
|
21376
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
21377
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
21378
|
+
* @param {*} [options] Override http request option.
|
|
21379
|
+
* @throws {RequiredError}
|
|
21380
|
+
*/
|
|
21381
|
+
async deleteUnsubscribe(id?: string, email?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteUnsubscribe(id, email, options);
|
|
21383
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21384
|
+
const localVarOperationServerBasePath = operationServerMap['ServicesApi.deleteUnsubscribe']?.[localVarOperationServerIndex]?.url;
|
|
21385
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21386
|
+
},
|
|
21387
|
+
/**
|
|
21388
|
+
*
|
|
21389
|
+
* @param {*} [options] Override http request option.
|
|
21390
|
+
* @throws {RequiredError}
|
|
21391
|
+
*/
|
|
21392
|
+
async getGetServiceHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceHealthDTO>> {
|
|
21393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getGetServiceHealth(options);
|
|
21394
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21395
|
+
const localVarOperationServerBasePath = operationServerMap['ServicesApi.getGetServiceHealth']?.[localVarOperationServerIndex]?.url;
|
|
21396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21397
|
+
},
|
|
21398
|
+
/**
|
|
21399
|
+
*
|
|
21400
|
+
* @param {number} id Group ID
|
|
21401
|
+
* @param {*} [options] Override http request option.
|
|
21402
|
+
* @throws {RequiredError}
|
|
21403
|
+
*/
|
|
21404
|
+
async patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
|
|
21405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchArchiveEvent(id, options);
|
|
21406
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21407
|
+
const localVarOperationServerBasePath = operationServerMap['ServicesApi.patchArchiveEvent']?.[localVarOperationServerIndex]?.url;
|
|
21408
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21409
|
+
},
|
|
21410
|
+
/**
|
|
21411
|
+
*
|
|
21412
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
21413
|
+
* @param {*} [options] Override http request option.
|
|
21414
|
+
* @throws {RequiredError}
|
|
21415
|
+
*/
|
|
21416
|
+
async postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
|
|
21417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateEvent(eventRequestDTO, options);
|
|
21418
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21419
|
+
const localVarOperationServerBasePath = operationServerMap['ServicesApi.postCreateEvent']?.[localVarOperationServerIndex]?.url;
|
|
21420
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21421
|
+
},
|
|
21422
|
+
/**
|
|
21423
|
+
*
|
|
21424
|
+
* @param {number} id Group ID
|
|
21425
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
21426
|
+
* @param {*} [options] Override http request option.
|
|
21427
|
+
* @throws {RequiredError}
|
|
21428
|
+
*/
|
|
21429
|
+
async postCreateEventUpdate(id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
|
|
21430
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postCreateEventUpdate(id, eventUpdateRequestDTO, options);
|
|
21431
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21432
|
+
const localVarOperationServerBasePath = operationServerMap['ServicesApi.postCreateEventUpdate']?.[localVarOperationServerIndex]?.url;
|
|
21433
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21434
|
+
},
|
|
21435
|
+
/**
|
|
21436
|
+
*
|
|
21437
|
+
* @param {string} [email] Subscription Email Address
|
|
21438
|
+
* @param {*} [options] Override http request option.
|
|
21439
|
+
* @throws {RequiredError}
|
|
21440
|
+
*/
|
|
21441
|
+
async postSubscribe(email?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
21442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.postSubscribe(email, options);
|
|
21443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
21444
|
+
const localVarOperationServerBasePath = operationServerMap['ServicesApi.postSubscribe']?.[localVarOperationServerIndex]?.url;
|
|
21445
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21446
|
+
},
|
|
21447
|
+
}
|
|
21448
|
+
};
|
|
21449
|
+
|
|
21450
|
+
/**
|
|
21451
|
+
* ServicesApi - factory interface
|
|
21452
|
+
* @export
|
|
21453
|
+
*/
|
|
21454
|
+
export const ServicesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
21455
|
+
const localVarFp = ServicesApiFp(configuration)
|
|
21456
|
+
return {
|
|
21457
|
+
/**
|
|
21458
|
+
*
|
|
21459
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
21460
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
21461
|
+
* @param {*} [options] Override http request option.
|
|
21462
|
+
* @throws {RequiredError}
|
|
21463
|
+
*/
|
|
21464
|
+
deleteUnsubscribe(id?: string, email?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21465
|
+
return localVarFp.deleteUnsubscribe(id, email, options).then((request) => request(axios, basePath));
|
|
21466
|
+
},
|
|
21467
|
+
/**
|
|
21468
|
+
*
|
|
21469
|
+
* @param {*} [options] Override http request option.
|
|
21470
|
+
* @throws {RequiredError}
|
|
21471
|
+
*/
|
|
21472
|
+
getGetServiceHealth(options?: RawAxiosRequestConfig): AxiosPromise<ServiceHealthDTO> {
|
|
21473
|
+
return localVarFp.getGetServiceHealth(options).then((request) => request(axios, basePath));
|
|
21474
|
+
},
|
|
21475
|
+
/**
|
|
21476
|
+
*
|
|
21477
|
+
* @param {number} id Group ID
|
|
21478
|
+
* @param {*} [options] Override http request option.
|
|
21479
|
+
* @throws {RequiredError}
|
|
21480
|
+
*/
|
|
21481
|
+
patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
|
|
21482
|
+
return localVarFp.patchArchiveEvent(id, options).then((request) => request(axios, basePath));
|
|
21483
|
+
},
|
|
21484
|
+
/**
|
|
21485
|
+
*
|
|
21486
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
21487
|
+
* @param {*} [options] Override http request option.
|
|
21488
|
+
* @throws {RequiredError}
|
|
21489
|
+
*/
|
|
21490
|
+
postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
|
|
21491
|
+
return localVarFp.postCreateEvent(eventRequestDTO, options).then((request) => request(axios, basePath));
|
|
21492
|
+
},
|
|
21493
|
+
/**
|
|
21494
|
+
*
|
|
21495
|
+
* @param {number} id Group ID
|
|
21496
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
21497
|
+
* @param {*} [options] Override http request option.
|
|
21498
|
+
* @throws {RequiredError}
|
|
21499
|
+
*/
|
|
21500
|
+
postCreateEventUpdate(id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
|
|
21501
|
+
return localVarFp.postCreateEventUpdate(id, eventUpdateRequestDTO, options).then((request) => request(axios, basePath));
|
|
21502
|
+
},
|
|
21503
|
+
/**
|
|
21504
|
+
*
|
|
21505
|
+
* @param {string} [email] Subscription Email Address
|
|
21506
|
+
* @param {*} [options] Override http request option.
|
|
21507
|
+
* @throws {RequiredError}
|
|
21508
|
+
*/
|
|
21509
|
+
postSubscribe(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
21510
|
+
return localVarFp.postSubscribe(email, options).then((request) => request(axios, basePath));
|
|
21511
|
+
},
|
|
21512
|
+
};
|
|
21513
|
+
};
|
|
21514
|
+
|
|
21515
|
+
/**
|
|
21516
|
+
* ServicesApi - object-oriented interface
|
|
21517
|
+
* @export
|
|
21518
|
+
* @class ServicesApi
|
|
21519
|
+
* @extends {BaseAPI}
|
|
21520
|
+
*/
|
|
21521
|
+
export class ServicesApi extends BaseAPI {
|
|
21522
|
+
/**
|
|
21523
|
+
*
|
|
21524
|
+
* @param {string} [id] Unsubscribe Email ID
|
|
21525
|
+
* @param {string} [email] Unsubscribe Email Address
|
|
21526
|
+
* @param {*} [options] Override http request option.
|
|
21527
|
+
* @throws {RequiredError}
|
|
21528
|
+
* @memberof ServicesApi
|
|
21529
|
+
*/
|
|
21530
|
+
public deleteUnsubscribe(id?: string, email?: string, options?: RawAxiosRequestConfig) {
|
|
21531
|
+
return ServicesApiFp(this.configuration).deleteUnsubscribe(id, email, options).then((request) => request(this.axios, this.basePath));
|
|
21532
|
+
}
|
|
21533
|
+
|
|
21534
|
+
/**
|
|
21535
|
+
*
|
|
21536
|
+
* @param {*} [options] Override http request option.
|
|
21537
|
+
* @throws {RequiredError}
|
|
21538
|
+
* @memberof ServicesApi
|
|
21539
|
+
*/
|
|
21540
|
+
public getGetServiceHealth(options?: RawAxiosRequestConfig) {
|
|
21541
|
+
return ServicesApiFp(this.configuration).getGetServiceHealth(options).then((request) => request(this.axios, this.basePath));
|
|
21542
|
+
}
|
|
21543
|
+
|
|
21544
|
+
/**
|
|
21545
|
+
*
|
|
21546
|
+
* @param {number} id Group ID
|
|
21547
|
+
* @param {*} [options] Override http request option.
|
|
21548
|
+
* @throws {RequiredError}
|
|
21549
|
+
* @memberof ServicesApi
|
|
21550
|
+
*/
|
|
21551
|
+
public patchArchiveEvent(id: number, options?: RawAxiosRequestConfig) {
|
|
21552
|
+
return ServicesApiFp(this.configuration).patchArchiveEvent(id, options).then((request) => request(this.axios, this.basePath));
|
|
21553
|
+
}
|
|
21554
|
+
|
|
21555
|
+
/**
|
|
21556
|
+
*
|
|
21557
|
+
* @param {EventRequestDTO} [eventRequestDTO]
|
|
21558
|
+
* @param {*} [options] Override http request option.
|
|
21559
|
+
* @throws {RequiredError}
|
|
21560
|
+
* @memberof ServicesApi
|
|
21561
|
+
*/
|
|
21562
|
+
public postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig) {
|
|
21563
|
+
return ServicesApiFp(this.configuration).postCreateEvent(eventRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
21564
|
+
}
|
|
21565
|
+
|
|
21566
|
+
/**
|
|
21567
|
+
*
|
|
21568
|
+
* @param {number} id Group ID
|
|
21569
|
+
* @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
|
|
21570
|
+
* @param {*} [options] Override http request option.
|
|
21571
|
+
* @throws {RequiredError}
|
|
21572
|
+
* @memberof ServicesApi
|
|
21573
|
+
*/
|
|
21574
|
+
public postCreateEventUpdate(id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig) {
|
|
21575
|
+
return ServicesApiFp(this.configuration).postCreateEventUpdate(id, eventUpdateRequestDTO, options).then((request) => request(this.axios, this.basePath));
|
|
21576
|
+
}
|
|
21577
|
+
|
|
21578
|
+
/**
|
|
21579
|
+
*
|
|
21580
|
+
* @param {string} [email] Subscription Email Address
|
|
21581
|
+
* @param {*} [options] Override http request option.
|
|
21582
|
+
* @throws {RequiredError}
|
|
21583
|
+
* @memberof ServicesApi
|
|
21584
|
+
*/
|
|
21585
|
+
public postSubscribe(email?: string, options?: RawAxiosRequestConfig) {
|
|
21586
|
+
return ServicesApiFp(this.configuration).postSubscribe(email, options).then((request) => request(this.axios, this.basePath));
|
|
21587
|
+
}
|
|
21588
|
+
}
|
|
21589
|
+
|
|
21590
|
+
|
|
21591
|
+
|
|
20846
21592
|
/**
|
|
20847
21593
|
* ShippingApi - axios parameter creator
|
|
20848
21594
|
* @export
|