yellowgrid-api-ts 3.2.161-dev.0 → 3.2.162-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/configuration.ts CHANGED
@@ -115,7 +115,7 @@ export class Configuration {
115
115
  * @return True if the given MIME is JSON, false otherwise.
116
116
  */
117
117
  public isJsonMime(mime: string): boolean {
118
- const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
119
- return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
118
+ const jsonMime: RegExp = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
119
+ return mime !== null && jsonMime.test(mime);
120
120
  }
121
121
  }
package/dist/api.d.ts CHANGED
@@ -30,6 +30,9 @@ export interface AbstractOrderRequestDTO {
30
30
  * Provisioning URL
31
31
  */
32
32
  'provisioningUrl'?: string | null;
33
+ /**
34
+ * Shipping Address
35
+ */
33
36
  'shippingAddress'?: AddressModel | null;
34
37
  /**
35
38
  * Part Ship Order
@@ -614,6 +617,9 @@ export interface AdminOrderRequestDTO {
614
617
  * Provisioning URL
615
618
  */
616
619
  'provisioningUrl'?: string | null;
620
+ /**
621
+ * Shipping Address
622
+ */
617
623
  'shippingAddress'?: AddressModel | null;
618
624
  /**
619
625
  * Part Ship Order
@@ -1409,10 +1415,6 @@ export interface CreateCrmNoteBody {
1409
1415
  * Credit Account
1410
1416
  */
1411
1417
  export interface CreditAccountEntity {
1412
- /**
1413
- * Contact Email Domains
1414
- */
1415
- 'domains'?: Array<string>;
1416
1418
  /**
1417
1419
  * ID
1418
1420
  */
@@ -1658,7 +1660,7 @@ export interface CrmActivityDTO {
1658
1660
  */
1659
1661
  'type'?: string;
1660
1662
  /**
1661
- * Date Time
1663
+ * Activity Timestamp
1662
1664
  */
1663
1665
  'timestamp'?: string | null;
1664
1666
  /**
@@ -1720,7 +1722,7 @@ export interface CrmContactDTO {
1720
1722
  */
1721
1723
  export interface CrmDateActivitiesDTO {
1722
1724
  /**
1723
- * Date Time
1725
+ * Date
1724
1726
  */
1725
1727
  'date'?: string | null;
1726
1728
  /**
@@ -1896,6 +1898,27 @@ export interface CustomerItemRequestDTO {
1896
1898
  */
1897
1899
  'readOnly'?: boolean;
1898
1900
  }
1901
+ /**
1902
+ * Customer List Account
1903
+ */
1904
+ export interface CustomerListAccountDTO {
1905
+ /**
1906
+ * ID
1907
+ */
1908
+ 'id'?: number;
1909
+ /**
1910
+ * Xero ID
1911
+ */
1912
+ 'xeroId'?: string;
1913
+ /**
1914
+ * Xero ID
1915
+ */
1916
+ 'company'?: string;
1917
+ /**
1918
+ * Xero ID
1919
+ */
1920
+ 'domains'?: Array<string>;
1921
+ }
1899
1922
  /**
1900
1923
  * Order Request
1901
1924
  */
@@ -1913,6 +1936,9 @@ export interface CustomerOrderRequestDTO {
1913
1936
  * Provisioning URL
1914
1937
  */
1915
1938
  'provisioningUrl'?: string | null;
1939
+ /**
1940
+ * Shipping Address
1941
+ */
1916
1942
  'shippingAddress'?: AddressModel | null;
1917
1943
  /**
1918
1944
  * Part Ship Order
@@ -2062,6 +2088,9 @@ export interface DetailedOrderRequestDTO {
2062
2088
  * Provisioning URL
2063
2089
  */
2064
2090
  'provisioningUrl'?: string | null;
2091
+ /**
2092
+ * Shipping Address
2093
+ */
2065
2094
  'shippingAddress'?: AddressModel | null;
2066
2095
  /**
2067
2096
  * Part Ship Order
@@ -4316,10 +4345,6 @@ export interface PatchUpdateTcxPartnerIdRequest {
4316
4345
  * Customer Account
4317
4346
  */
4318
4347
  export interface PortalAccountModel {
4319
- /**
4320
- * Contact Email Domains
4321
- */
4322
- 'domains'?: Array<string>;
4323
4348
  /**
4324
4349
  * ID
4325
4350
  */
@@ -4662,7 +4687,7 @@ export interface ProductSummaryDTO {
4662
4687
  */
4663
4688
  'stockProduct'?: boolean;
4664
4689
  /**
4665
- * Date Time
4690
+ * Due Date
4666
4691
  */
4667
4692
  'dueDate'?: string | null;
4668
4693
  /**
@@ -4677,6 +4702,9 @@ export interface ProductSummaryDTO {
4677
4702
  * RRP Price
4678
4703
  */
4679
4704
  'rrp'?: number | null;
4705
+ /**
4706
+ * 3CX Licence Details
4707
+ */
4680
4708
  'licenceDetails'?: TcxLicenceDetailsModel | null;
4681
4709
  /**
4682
4710
  * 3CX Hosting
@@ -4786,11 +4814,11 @@ export interface ProspectDTO {
4786
4814
  */
4787
4815
  'telephone'?: string | null;
4788
4816
  /**
4789
- * Date Time
4817
+ * Last Order Date
4790
4818
  */
4791
4819
  'lastOrderDate'?: string | null;
4792
4820
  /**
4793
- * Date Time
4821
+ * Call Back Date
4794
4822
  */
4795
4823
  'callbackDate'?: string | null;
4796
4824
  /**
@@ -4942,6 +4970,10 @@ export interface RecordingBackupAzureModel {
4942
4970
  * Storage Account Connection String
4943
4971
  */
4944
4972
  'connection_string'?: string;
4973
+ /**
4974
+ * SAS Url
4975
+ */
4976
+ 'sasUrl'?: string;
4945
4977
  /**
4946
4978
  * Recordings Path
4947
4979
  */
@@ -4951,7 +4983,13 @@ export interface RecordingBackupAzureModel {
4951
4983
  * Recordings Backup Info
4952
4984
  */
4953
4985
  export interface RecordingsBackupInfoDTO {
4986
+ /**
4987
+ * Azure Backup Storage
4988
+ */
4954
4989
  'backup'?: RecordingBackupAzureModel | null;
4990
+ /**
4991
+ * 3CX Remote Storage
4992
+ */
4955
4993
  'storage'?: TcxRemoteStorageModel | null;
4956
4994
  }
4957
4995
  /**
@@ -5423,6 +5461,9 @@ export interface ShipmentRequestDTO {
5423
5461
  * Courier
5424
5462
  */
5425
5463
  'courier'?: ShipmentRequestDTOCourierEnum;
5464
+ /**
5465
+ * Address
5466
+ */
5426
5467
  'address'?: AddressModel | null;
5427
5468
  /**
5428
5469
  * Scanned Lines
@@ -5433,7 +5474,7 @@ export interface ShipmentRequestDTO {
5433
5474
  */
5434
5475
  'service'?: string;
5435
5476
  /**
5436
- * Date Time
5477
+ * Ship Date
5437
5478
  */
5438
5479
  'shipDate'?: string | null;
5439
5480
  /**
@@ -7254,7 +7295,7 @@ export interface TcxKeySummaryDTO {
7254
7295
  */
7255
7296
  'edition'?: string;
7256
7297
  /**
7257
- * Date Time
7298
+ * Expiry Date
7258
7299
  */
7259
7300
  'expiry'?: string | null;
7260
7301
  }
@@ -8487,6 +8528,12 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8487
8528
  * @throws {RequiredError}
8488
8529
  */
8489
8530
  getGetClientCredentials: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8531
+ /**
8532
+ * Get Customer Accounts List
8533
+ * @param {*} [options] Override http request option.
8534
+ * @throws {RequiredError}
8535
+ */
8536
+ getGetCustomerAccountsList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8490
8537
  /**
8491
8538
  * Get 3CX Keys
8492
8539
  * @summary Get 3CX Keys
@@ -8825,6 +8872,12 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8825
8872
  * @throws {RequiredError}
8826
8873
  */
8827
8874
  getGetClientCredentials(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClientModel>>>;
8875
+ /**
8876
+ * Get Customer Accounts List
8877
+ * @param {*} [options] Override http request option.
8878
+ * @throws {RequiredError}
8879
+ */
8880
+ getGetCustomerAccountsList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerListAccountDTO>>>;
8828
8881
  /**
8829
8882
  * Get 3CX Keys
8830
8883
  * @summary Get 3CX Keys
@@ -9163,6 +9216,12 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
9163
9216
  * @throws {RequiredError}
9164
9217
  */
9165
9218
  getGetClientCredentials(options?: RawAxiosRequestConfig): AxiosPromise<Array<ClientModel>>;
9219
+ /**
9220
+ * Get Customer Accounts List
9221
+ * @param {*} [options] Override http request option.
9222
+ * @throws {RequiredError}
9223
+ */
9224
+ getGetCustomerAccountsList(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerListAccountDTO>>;
9166
9225
  /**
9167
9226
  * Get 3CX Keys
9168
9227
  * @summary Get 3CX Keys
@@ -9501,6 +9560,12 @@ export declare class AccountsApi extends BaseAPI {
9501
9560
  * @throws {RequiredError}
9502
9561
  */
9503
9562
  getGetClientCredentials(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientModel[], any, {}>>;
9563
+ /**
9564
+ * Get Customer Accounts List
9565
+ * @param {*} [options] Override http request option.
9566
+ * @throws {RequiredError}
9567
+ */
9568
+ getGetCustomerAccountsList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomerListAccountDTO[], any, {}>>;
9504
9569
  /**
9505
9570
  * Get 3CX Keys
9506
9571
  * @summary Get 3CX Keys