yellowgrid-api-ts 3.2.35 → 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/dist/api.d.ts CHANGED
@@ -2359,6 +2359,230 @@ export interface EdTechProSetupModel {
2359
2359
  */
2360
2360
  'installed'?: boolean;
2361
2361
  }
2362
+ /**
2363
+ * Service Event DTO
2364
+ * @export
2365
+ * @interface EventDTO
2366
+ */
2367
+ export interface EventDTO {
2368
+ /**
2369
+ * Service Event Title
2370
+ * @type {string}
2371
+ * @memberof EventDTO
2372
+ */
2373
+ 'title'?: string;
2374
+ /**
2375
+ * Service Event Type
2376
+ * @type {number}
2377
+ * @memberof EventDTO
2378
+ */
2379
+ 'type'?: EventDTOTypeEnum;
2380
+ /**
2381
+ * Service Impacted
2382
+ * @type {number}
2383
+ * @memberof EventDTO
2384
+ */
2385
+ 'service'?: EventDTOServiceEnum;
2386
+ /**
2387
+ * Event Status Description
2388
+ * @type {string}
2389
+ * @memberof EventDTO
2390
+ */
2391
+ 'statusName'?: string;
2392
+ /**
2393
+ * Event Type Description
2394
+ * @type {string}
2395
+ * @memberof EventDTO
2396
+ */
2397
+ 'typeName'?: string;
2398
+ /**
2399
+ * Service Event ID
2400
+ * @type {number}
2401
+ * @memberof EventDTO
2402
+ */
2403
+ 'id'?: number;
2404
+ /**
2405
+ * Service Event Status
2406
+ * @type {number}
2407
+ * @memberof EventDTO
2408
+ */
2409
+ 'status'?: EventDTOStatusEnum;
2410
+ /**
2411
+ * Service Event Updates
2412
+ * @type {Array<EventUpdateDTO>}
2413
+ * @memberof EventDTO
2414
+ */
2415
+ 'updates'?: Array<EventUpdateDTO>;
2416
+ }
2417
+ export declare const EventDTOTypeEnum: {
2418
+ readonly NUMBER_0: 0;
2419
+ readonly NUMBER_1: 1;
2420
+ };
2421
+ export type EventDTOTypeEnum = typeof EventDTOTypeEnum[keyof typeof EventDTOTypeEnum];
2422
+ export declare const EventDTOServiceEnum: {
2423
+ readonly NUMBER_0: 0;
2424
+ readonly NUMBER_1: 1;
2425
+ };
2426
+ export type EventDTOServiceEnum = typeof EventDTOServiceEnum[keyof typeof EventDTOServiceEnum];
2427
+ export declare const EventDTOStatusEnum: {
2428
+ readonly NUMBER_0: 0;
2429
+ readonly NUMBER_1: 1;
2430
+ readonly NUMBER_2: 2;
2431
+ };
2432
+ export type EventDTOStatusEnum = typeof EventDTOStatusEnum[keyof typeof EventDTOStatusEnum];
2433
+ /**
2434
+ * Service Event Request DTO
2435
+ * @export
2436
+ * @interface EventRequestDTO
2437
+ */
2438
+ export interface EventRequestDTO {
2439
+ /**
2440
+ * Service Event Title
2441
+ * @type {string}
2442
+ * @memberof EventRequestDTO
2443
+ */
2444
+ 'title'?: string;
2445
+ /**
2446
+ * Service Event Type
2447
+ * @type {number}
2448
+ * @memberof EventRequestDTO
2449
+ */
2450
+ 'type'?: EventRequestDTOTypeEnum;
2451
+ /**
2452
+ * Service Impacted
2453
+ * @type {number}
2454
+ * @memberof EventRequestDTO
2455
+ */
2456
+ 'service'?: EventRequestDTOServiceEnum;
2457
+ }
2458
+ export declare const EventRequestDTOTypeEnum: {
2459
+ readonly NUMBER_0: 0;
2460
+ readonly NUMBER_1: 1;
2461
+ };
2462
+ export type EventRequestDTOTypeEnum = typeof EventRequestDTOTypeEnum[keyof typeof EventRequestDTOTypeEnum];
2463
+ export declare const EventRequestDTOServiceEnum: {
2464
+ readonly NUMBER_0: 0;
2465
+ readonly NUMBER_1: 1;
2466
+ };
2467
+ export type EventRequestDTOServiceEnum = typeof EventRequestDTOServiceEnum[keyof typeof EventRequestDTOServiceEnum];
2468
+ /**
2469
+ * Service Event Subscribption Model
2470
+ * @export
2471
+ * @interface EventSubscriptionModel
2472
+ */
2473
+ export interface EventSubscriptionModel {
2474
+ /**
2475
+ * id
2476
+ * @type {string}
2477
+ * @memberof EventSubscriptionModel
2478
+ */
2479
+ 'id'?: string;
2480
+ /**
2481
+ * email
2482
+ * @type {string}
2483
+ * @memberof EventSubscriptionModel
2484
+ */
2485
+ 'email'?: string;
2486
+ }
2487
+ /**
2488
+ * Service Event Update DTO
2489
+ * @export
2490
+ * @interface EventUpdateDTO
2491
+ */
2492
+ export interface EventUpdateDTO {
2493
+ /**
2494
+ * Service Event Update Message
2495
+ * @type {string}
2496
+ * @memberof EventUpdateDTO
2497
+ */
2498
+ 'message'?: string;
2499
+ /**
2500
+ * Service Event Update Type
2501
+ * @type {number}
2502
+ * @memberof EventUpdateDTO
2503
+ */
2504
+ 'type'?: EventUpdateDTOTypeEnum;
2505
+ /**
2506
+ * Service Event Update Type Description
2507
+ * @type {string}
2508
+ * @memberof EventUpdateDTO
2509
+ */
2510
+ 'typeName'?: string;
2511
+ /**
2512
+ * Date Time
2513
+ * @type {string}
2514
+ * @memberof EventUpdateDTO
2515
+ */
2516
+ 'createdAt'?: string;
2517
+ }
2518
+ export declare const EventUpdateDTOTypeEnum: {
2519
+ readonly NUMBER_0: 0;
2520
+ readonly NUMBER_1: 1;
2521
+ readonly NUMBER_2: 2;
2522
+ };
2523
+ export type EventUpdateDTOTypeEnum = typeof EventUpdateDTOTypeEnum[keyof typeof EventUpdateDTOTypeEnum];
2524
+ /**
2525
+ * Event Update Entity
2526
+ * @export
2527
+ * @interface EventUpdateEntity
2528
+ */
2529
+ export interface EventUpdateEntity {
2530
+ /**
2531
+ * id
2532
+ * @type {number}
2533
+ * @memberof EventUpdateEntity
2534
+ */
2535
+ 'id'?: number;
2536
+ /**
2537
+ * eventId
2538
+ * @type {number}
2539
+ * @memberof EventUpdateEntity
2540
+ */
2541
+ 'eventId'?: number;
2542
+ /**
2543
+ * message
2544
+ * @type {string}
2545
+ * @memberof EventUpdateEntity
2546
+ */
2547
+ 'message'?: string;
2548
+ /**
2549
+ * type
2550
+ * @type {number}
2551
+ * @memberof EventUpdateEntity
2552
+ */
2553
+ 'type'?: number;
2554
+ /**
2555
+ * createdAt
2556
+ * @type {string}
2557
+ * @memberof EventUpdateEntity
2558
+ */
2559
+ 'createdAt'?: string;
2560
+ }
2561
+ /**
2562
+ * Service Event Update Request DTO
2563
+ * @export
2564
+ * @interface EventUpdateRequestDTO
2565
+ */
2566
+ export interface EventUpdateRequestDTO {
2567
+ /**
2568
+ * Service Event Update Message
2569
+ * @type {string}
2570
+ * @memberof EventUpdateRequestDTO
2571
+ */
2572
+ 'message'?: string;
2573
+ /**
2574
+ * Service Event Update Type
2575
+ * @type {number}
2576
+ * @memberof EventUpdateRequestDTO
2577
+ */
2578
+ 'type'?: EventUpdateRequestDTOTypeEnum;
2579
+ }
2580
+ export declare const EventUpdateRequestDTOTypeEnum: {
2581
+ readonly NUMBER_0: 0;
2582
+ readonly NUMBER_1: 1;
2583
+ readonly NUMBER_2: 2;
2584
+ };
2585
+ export type EventUpdateRequestDTOTypeEnum = typeof EventUpdateRequestDTOTypeEnum[keyof typeof EventUpdateRequestDTOTypeEnum];
2362
2586
  /**
2363
2587
  * Fraud Management
2364
2588
  * @export
@@ -5261,6 +5485,68 @@ export interface ScopeModel {
5261
5485
  */
5262
5486
  'description'?: string;
5263
5487
  }
5488
+ /**
5489
+ * Service Health DTO
5490
+ * @export
5491
+ * @interface ServiceHealthDTO
5492
+ */
5493
+ export interface ServiceHealthDTO {
5494
+ /**
5495
+ *
5496
+ * @type {Array<ServiceStatusDTO>}
5497
+ * @memberof ServiceHealthDTO
5498
+ */
5499
+ 'services'?: Array<ServiceStatusDTO>;
5500
+ /**
5501
+ *
5502
+ * @type {number}
5503
+ * @memberof ServiceHealthDTO
5504
+ */
5505
+ 'globalStatus'?: ServiceHealthDTOGlobalStatusEnum;
5506
+ }
5507
+ export declare const ServiceHealthDTOGlobalStatusEnum: {
5508
+ readonly NUMBER_0: 0;
5509
+ readonly NUMBER_1: 1;
5510
+ readonly NUMBER_2: 2;
5511
+ };
5512
+ export type ServiceHealthDTOGlobalStatusEnum = typeof ServiceHealthDTOGlobalStatusEnum[keyof typeof ServiceHealthDTOGlobalStatusEnum];
5513
+ /**
5514
+ * Service Status DTO
5515
+ * @export
5516
+ * @interface ServiceStatusDTO
5517
+ */
5518
+ export interface ServiceStatusDTO {
5519
+ /**
5520
+ * Service Status Description
5521
+ * @type {string}
5522
+ * @memberof ServiceStatusDTO
5523
+ */
5524
+ 'statusName'?: string;
5525
+ /**
5526
+ * Service Name
5527
+ * @type {string}
5528
+ * @memberof ServiceStatusDTO
5529
+ */
5530
+ 'name'?: string;
5531
+ /**
5532
+ * Service Status
5533
+ * @type {number}
5534
+ * @memberof ServiceStatusDTO
5535
+ */
5536
+ 'status'?: ServiceStatusDTOStatusEnum;
5537
+ /**
5538
+ * Service Events
5539
+ * @type {Array<EventDTO>}
5540
+ * @memberof ServiceStatusDTO
5541
+ */
5542
+ 'events'?: Array<EventDTO>;
5543
+ }
5544
+ export declare const ServiceStatusDTOStatusEnum: {
5545
+ readonly NUMBER_0: 0;
5546
+ readonly NUMBER_1: 1;
5547
+ readonly NUMBER_2: 2;
5548
+ };
5549
+ export type ServiceStatusDTOStatusEnum = typeof ServiceStatusDTOStatusEnum[keyof typeof ServiceStatusDTOStatusEnum];
5264
5550
  /**
5265
5551
  * ShipmentAddressEntity
5266
5552
  * @export
@@ -15143,6 +15429,210 @@ export declare class SMSApi extends BaseAPI {
15143
15429
  */
15144
15430
  postSendSms(authorization: string, smsMessageModel?: SmsMessageModel, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SmsDataModel, any, {}>>;
15145
15431
  }
15432
+ /**
15433
+ * ServicesApi - axios parameter creator
15434
+ * @export
15435
+ */
15436
+ export declare const ServicesApiAxiosParamCreator: (configuration?: Configuration) => {
15437
+ /**
15438
+ *
15439
+ * @param {string} [id] Unsubscribe Email ID
15440
+ * @param {string} [email] Unsubscribe Email Address
15441
+ * @param {*} [options] Override http request option.
15442
+ * @throws {RequiredError}
15443
+ */
15444
+ deleteUnsubscribe: (id?: string, email?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15445
+ /**
15446
+ *
15447
+ * @param {*} [options] Override http request option.
15448
+ * @throws {RequiredError}
15449
+ */
15450
+ getGetServiceHealth: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15451
+ /**
15452
+ *
15453
+ * @param {number} id Group ID
15454
+ * @param {*} [options] Override http request option.
15455
+ * @throws {RequiredError}
15456
+ */
15457
+ patchArchiveEvent: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15458
+ /**
15459
+ *
15460
+ * @param {EventRequestDTO} [eventRequestDTO]
15461
+ * @param {*} [options] Override http request option.
15462
+ * @throws {RequiredError}
15463
+ */
15464
+ postCreateEvent: (eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15465
+ /**
15466
+ *
15467
+ * @param {number} id Group ID
15468
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15469
+ * @param {*} [options] Override http request option.
15470
+ * @throws {RequiredError}
15471
+ */
15472
+ postCreateEventUpdate: (id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15473
+ /**
15474
+ *
15475
+ * @param {string} [email] Subscription Email Address
15476
+ * @param {*} [options] Override http request option.
15477
+ * @throws {RequiredError}
15478
+ */
15479
+ postSubscribe: (email?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
15480
+ };
15481
+ /**
15482
+ * ServicesApi - functional programming interface
15483
+ * @export
15484
+ */
15485
+ export declare const ServicesApiFp: (configuration?: Configuration) => {
15486
+ /**
15487
+ *
15488
+ * @param {string} [id] Unsubscribe Email ID
15489
+ * @param {string} [email] Unsubscribe Email Address
15490
+ * @param {*} [options] Override http request option.
15491
+ * @throws {RequiredError}
15492
+ */
15493
+ deleteUnsubscribe(id?: string, email?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15494
+ /**
15495
+ *
15496
+ * @param {*} [options] Override http request option.
15497
+ * @throws {RequiredError}
15498
+ */
15499
+ getGetServiceHealth(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceHealthDTO>>;
15500
+ /**
15501
+ *
15502
+ * @param {number} id Group ID
15503
+ * @param {*} [options] Override http request option.
15504
+ * @throws {RequiredError}
15505
+ */
15506
+ patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
15507
+ /**
15508
+ *
15509
+ * @param {EventRequestDTO} [eventRequestDTO]
15510
+ * @param {*} [options] Override http request option.
15511
+ * @throws {RequiredError}
15512
+ */
15513
+ postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
15514
+ /**
15515
+ *
15516
+ * @param {number} id Group ID
15517
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15518
+ * @param {*} [options] Override http request option.
15519
+ * @throws {RequiredError}
15520
+ */
15521
+ postCreateEventUpdate(id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>>;
15522
+ /**
15523
+ *
15524
+ * @param {string} [email] Subscription Email Address
15525
+ * @param {*} [options] Override http request option.
15526
+ * @throws {RequiredError}
15527
+ */
15528
+ postSubscribe(email?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
15529
+ };
15530
+ /**
15531
+ * ServicesApi - factory interface
15532
+ * @export
15533
+ */
15534
+ export declare const ServicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
15535
+ /**
15536
+ *
15537
+ * @param {string} [id] Unsubscribe Email ID
15538
+ * @param {string} [email] Unsubscribe Email Address
15539
+ * @param {*} [options] Override http request option.
15540
+ * @throws {RequiredError}
15541
+ */
15542
+ deleteUnsubscribe(id?: string, email?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15543
+ /**
15544
+ *
15545
+ * @param {*} [options] Override http request option.
15546
+ * @throws {RequiredError}
15547
+ */
15548
+ getGetServiceHealth(options?: RawAxiosRequestConfig): AxiosPromise<ServiceHealthDTO>;
15549
+ /**
15550
+ *
15551
+ * @param {number} id Group ID
15552
+ * @param {*} [options] Override http request option.
15553
+ * @throws {RequiredError}
15554
+ */
15555
+ patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
15556
+ /**
15557
+ *
15558
+ * @param {EventRequestDTO} [eventRequestDTO]
15559
+ * @param {*} [options] Override http request option.
15560
+ * @throws {RequiredError}
15561
+ */
15562
+ postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
15563
+ /**
15564
+ *
15565
+ * @param {number} id Group ID
15566
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15567
+ * @param {*} [options] Override http request option.
15568
+ * @throws {RequiredError}
15569
+ */
15570
+ postCreateEventUpdate(id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO>;
15571
+ /**
15572
+ *
15573
+ * @param {string} [email] Subscription Email Address
15574
+ * @param {*} [options] Override http request option.
15575
+ * @throws {RequiredError}
15576
+ */
15577
+ postSubscribe(email?: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
15578
+ };
15579
+ /**
15580
+ * ServicesApi - object-oriented interface
15581
+ * @export
15582
+ * @class ServicesApi
15583
+ * @extends {BaseAPI}
15584
+ */
15585
+ export declare class ServicesApi extends BaseAPI {
15586
+ /**
15587
+ *
15588
+ * @param {string} [id] Unsubscribe Email ID
15589
+ * @param {string} [email] Unsubscribe Email Address
15590
+ * @param {*} [options] Override http request option.
15591
+ * @throws {RequiredError}
15592
+ * @memberof ServicesApi
15593
+ */
15594
+ deleteUnsubscribe(id?: string, email?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15595
+ /**
15596
+ *
15597
+ * @param {*} [options] Override http request option.
15598
+ * @throws {RequiredError}
15599
+ * @memberof ServicesApi
15600
+ */
15601
+ getGetServiceHealth(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ServiceHealthDTO, any, {}>>;
15602
+ /**
15603
+ *
15604
+ * @param {number} id Group ID
15605
+ * @param {*} [options] Override http request option.
15606
+ * @throws {RequiredError}
15607
+ * @memberof ServicesApi
15608
+ */
15609
+ patchArchiveEvent(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
15610
+ /**
15611
+ *
15612
+ * @param {EventRequestDTO} [eventRequestDTO]
15613
+ * @param {*} [options] Override http request option.
15614
+ * @throws {RequiredError}
15615
+ * @memberof ServicesApi
15616
+ */
15617
+ postCreateEvent(eventRequestDTO?: EventRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
15618
+ /**
15619
+ *
15620
+ * @param {number} id Group ID
15621
+ * @param {EventUpdateRequestDTO} [eventUpdateRequestDTO]
15622
+ * @param {*} [options] Override http request option.
15623
+ * @throws {RequiredError}
15624
+ * @memberof ServicesApi
15625
+ */
15626
+ postCreateEventUpdate(id: number, eventUpdateRequestDTO?: EventUpdateRequestDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventDTO, any, {}>>;
15627
+ /**
15628
+ *
15629
+ * @param {string} [email] Subscription Email Address
15630
+ * @param {*} [options] Override http request option.
15631
+ * @throws {RequiredError}
15632
+ * @memberof ServicesApi
15633
+ */
15634
+ postSubscribe(email?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
15635
+ }
15146
15636
  /**
15147
15637
  * ShippingApi - axios parameter creator
15148
15638
  * @export