yellowgrid-api-ts 3.2.193-dev.0 → 3.2.194-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -1410,6 +1410,7 @@ export declare const AuditLogEntityTypeEnum: {
1410
1410
  readonly NumberPortNotes: "number_port_notes";
1411
1411
  readonly PopsOfflineInstances: "pops_offline_instances";
1412
1412
  readonly PopsOrderedItems: "pops_ordered_items";
1413
+ readonly PopsPasswordSender: "pops_password_sender";
1413
1414
  readonly PopsPrizes: "pops_prizes";
1414
1415
  readonly PopsPrinters: "pops_printers";
1415
1416
  readonly PopsPromoCodes: "pops_promo_codes";
@@ -2492,12 +2493,6 @@ export interface CrmActivityDTO {
2492
2493
  * @memberof CrmActivityDTO
2493
2494
  */
2494
2495
  'description'?: string;
2495
- /**
2496
- * Activity URL
2497
- * @type {string}
2498
- * @memberof CrmActivityDTO
2499
- */
2500
- 'url'?: string | null;
2501
2496
  /**
2502
2497
  * Activity User Name
2503
2498
  * @type {string}
@@ -2510,6 +2505,12 @@ export interface CrmActivityDTO {
2510
2505
  * @memberof CrmActivityDTO
2511
2506
  */
2512
2507
  'contact'?: string | null;
2508
+ /**
2509
+ * Activity Order ID
2510
+ * @type {number}
2511
+ * @memberof CrmActivityDTO
2512
+ */
2513
+ 'orderId'?: number | null;
2513
2514
  }
2514
2515
  /**
2515
2516
  * CRM Contact
@@ -6558,6 +6559,122 @@ export interface PartnerDTO {
6558
6559
  */
6559
6560
  'customer'?: AccountSummaryDTO | null;
6560
6561
  }
6562
+ /**
6563
+ * Password Sender Request
6564
+ * @export
6565
+ * @interface PasswordSenderDTO
6566
+ */
6567
+ export interface PasswordSenderDTO {
6568
+ /**
6569
+ * Username
6570
+ * @type {string}
6571
+ * @memberof PasswordSenderDTO
6572
+ */
6573
+ 'username'?: string;
6574
+ /**
6575
+ * Password
6576
+ * @type {string}
6577
+ * @memberof PasswordSenderDTO
6578
+ */
6579
+ 'password'?: string | null;
6580
+ /**
6581
+ * Expiry Interval
6582
+ * @type {number}
6583
+ * @memberof PasswordSenderDTO
6584
+ */
6585
+ 'expiryInterval'?: number | null;
6586
+ /**
6587
+ * Interval Type
6588
+ * @type {string}
6589
+ * @memberof PasswordSenderDTO
6590
+ */
6591
+ 'intervalType'?: PasswordSenderDTOIntervalTypeEnum | null;
6592
+ /**
6593
+ * Date Time
6594
+ * @type {string}
6595
+ * @memberof PasswordSenderDTO
6596
+ */
6597
+ 'expiry'?: string;
6598
+ /**
6599
+ * Recipient
6600
+ * @type {string}
6601
+ * @memberof PasswordSenderDTO
6602
+ */
6603
+ 'recipient'?: string;
6604
+ /**
6605
+ * URL
6606
+ * @type {string}
6607
+ * @memberof PasswordSenderDTO
6608
+ */
6609
+ 'url'?: string | null;
6610
+ /**
6611
+ * Description
6612
+ * @type {string}
6613
+ * @memberof PasswordSenderDTO
6614
+ */
6615
+ 'description'?: string | null;
6616
+ /**
6617
+ * Password URL
6618
+ * @type {string}
6619
+ * @memberof PasswordSenderDTO
6620
+ */
6621
+ 'passwordUrl'?: string | null;
6622
+ }
6623
+ export declare const PasswordSenderDTOIntervalTypeEnum: {
6624
+ readonly Minute: "Minute";
6625
+ readonly Hour: "Hour";
6626
+ readonly Day: "Day";
6627
+ };
6628
+ export type PasswordSenderDTOIntervalTypeEnum = typeof PasswordSenderDTOIntervalTypeEnum[keyof typeof PasswordSenderDTOIntervalTypeEnum];
6629
+ /**
6630
+ * PasswordSenderEntity
6631
+ * @export
6632
+ * @interface PasswordSenderEntity
6633
+ */
6634
+ export interface PasswordSenderEntity {
6635
+ /**
6636
+ * uniqueId
6637
+ * @type {string}
6638
+ * @memberof PasswordSenderEntity
6639
+ */
6640
+ 'uniqueId'?: string;
6641
+ /**
6642
+ * url
6643
+ * @type {string}
6644
+ * @memberof PasswordSenderEntity
6645
+ */
6646
+ 'url'?: string;
6647
+ /**
6648
+ * username
6649
+ * @type {string}
6650
+ * @memberof PasswordSenderEntity
6651
+ */
6652
+ 'username'?: string;
6653
+ /**
6654
+ * password
6655
+ * @type {string}
6656
+ * @memberof PasswordSenderEntity
6657
+ */
6658
+ 'password'?: string;
6659
+ /**
6660
+ * expiryTime
6661
+ * @type {string}
6662
+ * @memberof PasswordSenderEntity
6663
+ */
6664
+ 'expiryTime'?: string;
6665
+ /**
6666
+ * emailRecipient
6667
+ * @type {string}
6668
+ * @memberof PasswordSenderEntity
6669
+ */
6670
+ 'emailRecipient'?: string;
6671
+ /**
6672
+ * description
6673
+ * @type {string}
6674
+ * @memberof PasswordSenderEntity
6675
+ */
6676
+ 'description'?: string;
6677
+ }
6561
6678
  /**
6562
6679
  *
6563
6680
  * @export
@@ -10242,6 +10359,120 @@ export interface StockProductSummaryModel {
10242
10359
  */
10243
10360
  'manufacturer'?: StockOrderSupplierModel;
10244
10361
  }
10362
+ /**
10363
+ * Stock Report Item
10364
+ * @export
10365
+ * @interface StockReportItemModel
10366
+ */
10367
+ export interface StockReportItemModel {
10368
+ /**
10369
+ * Title
10370
+ * @type {string}
10371
+ * @memberof StockReportItemModel
10372
+ */
10373
+ 'title'?: string;
10374
+ /**
10375
+ * SKU
10376
+ * @type {string}
10377
+ * @memberof StockReportItemModel
10378
+ */
10379
+ 'sku'?: string;
10380
+ /**
10381
+ * In Stock
10382
+ * @type {number}
10383
+ * @memberof StockReportItemModel
10384
+ */
10385
+ 'quantity'?: number;
10386
+ /**
10387
+ * Currency
10388
+ * @type {string}
10389
+ * @memberof StockReportItemModel
10390
+ */
10391
+ 'currency'?: StockReportItemModelCurrencyEnum;
10392
+ /**
10393
+ * Cost Price
10394
+ * @type {number}
10395
+ * @memberof StockReportItemModel
10396
+ */
10397
+ 'basePrice'?: number;
10398
+ /**
10399
+ * Line Total
10400
+ * @type {number}
10401
+ * @memberof StockReportItemModel
10402
+ */
10403
+ 'totalValue'?: number;
10404
+ }
10405
+ export declare const StockReportItemModelCurrencyEnum: {
10406
+ readonly Eur: "EUR";
10407
+ readonly Usd: "USD";
10408
+ readonly Jpy: "JPY";
10409
+ readonly Bgn: "BGN";
10410
+ readonly Czk: "CZK";
10411
+ readonly Dkk: "DKK";
10412
+ readonly Gbp: "GBP";
10413
+ readonly Huf: "HUF";
10414
+ readonly Pln: "PLN";
10415
+ readonly Ron: "RON";
10416
+ readonly Sek: "SEK";
10417
+ readonly Chf: "CHF";
10418
+ readonly Isk: "ISK";
10419
+ readonly Nok: "NOK";
10420
+ readonly Try: "TRY";
10421
+ readonly Aud: "AUD";
10422
+ readonly Brl: "BRL";
10423
+ readonly Cad: "CAD";
10424
+ readonly Cny: "CNY";
10425
+ readonly Hkd: "HKD";
10426
+ readonly Idr: "IDR";
10427
+ readonly Ils: "ILS";
10428
+ readonly Inr: "INR";
10429
+ readonly Krw: "KRW";
10430
+ readonly Mxn: "MXN";
10431
+ readonly Myr: "MYR";
10432
+ readonly Nzd: "NZD";
10433
+ readonly Php: "PHP";
10434
+ readonly Sgd: "SGD";
10435
+ readonly Thb: "THB";
10436
+ readonly Zar: "ZAR";
10437
+ };
10438
+ export type StockReportItemModelCurrencyEnum = typeof StockReportItemModelCurrencyEnum[keyof typeof StockReportItemModelCurrencyEnum];
10439
+ /**
10440
+ * Stock Report
10441
+ * @export
10442
+ * @interface StockReportModel
10443
+ */
10444
+ export interface StockReportModel {
10445
+ /**
10446
+ * Items
10447
+ * @type {Array<StockReportItemModel>}
10448
+ * @memberof StockReportModel
10449
+ */
10450
+ 'products'?: Array<StockReportItemModel>;
10451
+ /**
10452
+ * Units In Stock
10453
+ * @type {number}
10454
+ * @memberof StockReportModel
10455
+ */
10456
+ 'unitsInStock'?: number;
10457
+ /**
10458
+ * Value Of USD Stock
10459
+ * @type {number}
10460
+ * @memberof StockReportModel
10461
+ */
10462
+ 'usdStock'?: number;
10463
+ /**
10464
+ * Value Of GBP Stock
10465
+ * @type {number}
10466
+ * @memberof StockReportModel
10467
+ */
10468
+ 'gbpStock'?: number;
10469
+ /**
10470
+ * Total value of stock in GBP
10471
+ * @type {number}
10472
+ * @memberof StockReportModel
10473
+ */
10474
+ 'totalStockGbp'?: number;
10475
+ }
10245
10476
  /**
10246
10477
  * StockTransactionsEntity
10247
10478
  * @export
@@ -11092,6 +11323,12 @@ export interface TcxInstallationModel {
11092
11323
  * @memberof TcxInstallationModel
11093
11324
  */
11094
11325
  'wizardId'?: string;
11326
+ /**
11327
+ * Customer ID
11328
+ * @type {number}
11329
+ * @memberof TcxInstallationModel
11330
+ */
11331
+ 'customerId'?: number;
11095
11332
  /**
11096
11333
  * Instance ID
11097
11334
  * @type {string}
@@ -13186,6 +13423,14 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
13186
13423
  * @throws {RequiredError}
13187
13424
  */
13188
13425
  getGetLastAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13426
+ /**
13427
+ * Download New Price List
13428
+ * @summary Download New Price List
13429
+ * @param {string} id Xero ID
13430
+ * @param {*} [options] Override http request option.
13431
+ * @throws {RequiredError}
13432
+ */
13433
+ getGetNewPriceList: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13189
13434
  /**
13190
13435
  * Get Account 3CX Details
13191
13436
  * @param {string} id Xero ID
@@ -13555,6 +13800,14 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
13555
13800
  * @throws {RequiredError}
13556
13801
  */
13557
13802
  getGetLastAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountSummaryDTO>>;
13803
+ /**
13804
+ * Download New Price List
13805
+ * @summary Download New Price List
13806
+ * @param {string} id Xero ID
13807
+ * @param {*} [options] Override http request option.
13808
+ * @throws {RequiredError}
13809
+ */
13810
+ getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
13558
13811
  /**
13559
13812
  * Get Account 3CX Details
13560
13813
  * @param {string} id Xero ID
@@ -13924,6 +14177,14 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
13924
14177
  * @throws {RequiredError}
13925
14178
  */
13926
14179
  getGetLastAccount(options?: RawAxiosRequestConfig): AxiosPromise<AccountSummaryDTO>;
14180
+ /**
14181
+ * Download New Price List
14182
+ * @summary Download New Price List
14183
+ * @param {string} id Xero ID
14184
+ * @param {*} [options] Override http request option.
14185
+ * @throws {RequiredError}
14186
+ */
14187
+ getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
13927
14188
  /**
13928
14189
  * Get Account 3CX Details
13929
14190
  * @param {string} id Xero ID
@@ -14310,6 +14571,15 @@ export declare class AccountsApi extends BaseAPI {
14310
14571
  * @memberof AccountsApi
14311
14572
  */
14312
14573
  getGetLastAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountSummaryDTO, any, {}>>;
14574
+ /**
14575
+ * Download New Price List
14576
+ * @summary Download New Price List
14577
+ * @param {string} id Xero ID
14578
+ * @param {*} [options] Override http request option.
14579
+ * @throws {RequiredError}
14580
+ * @memberof AccountsApi
14581
+ */
14582
+ getGetNewPriceList(id: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
14313
14583
  /**
14314
14584
  * Get Account 3CX Details
14315
14585
  * @param {string} id Xero ID
@@ -17601,6 +17871,61 @@ export declare const GetGetTenantsStatusEnum: {
17601
17871
  readonly FailedOver: "Failed Over";
17602
17872
  };
17603
17873
  export type GetGetTenantsStatusEnum = typeof GetGetTenantsStatusEnum[keyof typeof GetGetTenantsStatusEnum];
17874
+ /**
17875
+ * MiscApi - axios parameter creator
17876
+ * @export
17877
+ */
17878
+ export declare const MiscApiAxiosParamCreator: (configuration?: Configuration) => {
17879
+ /**
17880
+ * Share Credentials
17881
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
17882
+ * @param {*} [options] Override http request option.
17883
+ * @throws {RequiredError}
17884
+ */
17885
+ postSendPassword: (passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
17886
+ };
17887
+ /**
17888
+ * MiscApi - functional programming interface
17889
+ * @export
17890
+ */
17891
+ export declare const MiscApiFp: (configuration?: Configuration) => {
17892
+ /**
17893
+ * Share Credentials
17894
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
17895
+ * @param {*} [options] Override http request option.
17896
+ * @throws {RequiredError}
17897
+ */
17898
+ postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PasswordSenderDTO>>;
17899
+ };
17900
+ /**
17901
+ * MiscApi - factory interface
17902
+ * @export
17903
+ */
17904
+ export declare const MiscApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
17905
+ /**
17906
+ * Share Credentials
17907
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
17908
+ * @param {*} [options] Override http request option.
17909
+ * @throws {RequiredError}
17910
+ */
17911
+ postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): AxiosPromise<PasswordSenderDTO>;
17912
+ };
17913
+ /**
17914
+ * MiscApi - object-oriented interface
17915
+ * @export
17916
+ * @class MiscApi
17917
+ * @extends {BaseAPI}
17918
+ */
17919
+ export declare class MiscApi extends BaseAPI {
17920
+ /**
17921
+ * Share Credentials
17922
+ * @param {PasswordSenderDTO} [passwordSenderDTO] Password Sender Request
17923
+ * @param {*} [options] Override http request option.
17924
+ * @throws {RequiredError}
17925
+ * @memberof MiscApi
17926
+ */
17927
+ postSendPassword(passwordSenderDTO?: PasswordSenderDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PasswordSenderDTO, any, {}>>;
17928
+ }
17604
17929
  /**
17605
17930
  * MyPBXToolsApi - axios parameter creator
17606
17931
  * @export
@@ -20966,6 +21291,57 @@ export declare class ProvisioningApi extends BaseAPI {
20966
21291
  */
20967
21292
  postCreateMac(macAddressDTO?: MacAddressDTO, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MacAddressDTO, any, {}>>;
20968
21293
  }
21294
+ /**
21295
+ * ReportsApi - axios parameter creator
21296
+ * @export
21297
+ */
21298
+ export declare const ReportsApiAxiosParamCreator: (configuration?: Configuration) => {
21299
+ /**
21300
+ *
21301
+ * @param {*} [options] Override http request option.
21302
+ * @throws {RequiredError}
21303
+ */
21304
+ getGetStockReport: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21305
+ };
21306
+ /**
21307
+ * ReportsApi - functional programming interface
21308
+ * @export
21309
+ */
21310
+ export declare const ReportsApiFp: (configuration?: Configuration) => {
21311
+ /**
21312
+ *
21313
+ * @param {*} [options] Override http request option.
21314
+ * @throws {RequiredError}
21315
+ */
21316
+ getGetStockReport(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StockReportModel>>;
21317
+ };
21318
+ /**
21319
+ * ReportsApi - factory interface
21320
+ * @export
21321
+ */
21322
+ export declare const ReportsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
21323
+ /**
21324
+ *
21325
+ * @param {*} [options] Override http request option.
21326
+ * @throws {RequiredError}
21327
+ */
21328
+ getGetStockReport(options?: RawAxiosRequestConfig): AxiosPromise<StockReportModel>;
21329
+ };
21330
+ /**
21331
+ * ReportsApi - object-oriented interface
21332
+ * @export
21333
+ * @class ReportsApi
21334
+ * @extends {BaseAPI}
21335
+ */
21336
+ export declare class ReportsApi extends BaseAPI {
21337
+ /**
21338
+ *
21339
+ * @param {*} [options] Override http request option.
21340
+ * @throws {RequiredError}
21341
+ * @memberof ReportsApi
21342
+ */
21343
+ getGetStockReport(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StockReportModel, any, {}>>;
21344
+ }
20969
21345
  /**
20970
21346
  * SIPTrunksApi - axios parameter creator
20971
21347
  * @export