yellowgrid-api-ts 3.2.161-dev.0 → 3.2.163-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,31 @@ 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
+ * Account Number
1915
+ */
1916
+ 'accountNumber'?: string;
1917
+ /**
1918
+ * Company Name
1919
+ */
1920
+ 'company'?: string;
1921
+ /**
1922
+ * Associated Email Domains
1923
+ */
1924
+ 'domains'?: Array<string>;
1925
+ }
1899
1926
  /**
1900
1927
  * Order Request
1901
1928
  */
@@ -1913,6 +1940,9 @@ export interface CustomerOrderRequestDTO {
1913
1940
  * Provisioning URL
1914
1941
  */
1915
1942
  'provisioningUrl'?: string | null;
1943
+ /**
1944
+ * Shipping Address
1945
+ */
1916
1946
  'shippingAddress'?: AddressModel | null;
1917
1947
  /**
1918
1948
  * Part Ship Order
@@ -2062,6 +2092,9 @@ export interface DetailedOrderRequestDTO {
2062
2092
  * Provisioning URL
2063
2093
  */
2064
2094
  'provisioningUrl'?: string | null;
2095
+ /**
2096
+ * Shipping Address
2097
+ */
2065
2098
  'shippingAddress'?: AddressModel | null;
2066
2099
  /**
2067
2100
  * Part Ship Order
@@ -4316,10 +4349,6 @@ export interface PatchUpdateTcxPartnerIdRequest {
4316
4349
  * Customer Account
4317
4350
  */
4318
4351
  export interface PortalAccountModel {
4319
- /**
4320
- * Contact Email Domains
4321
- */
4322
- 'domains'?: Array<string>;
4323
4352
  /**
4324
4353
  * ID
4325
4354
  */
@@ -4662,7 +4691,7 @@ export interface ProductSummaryDTO {
4662
4691
  */
4663
4692
  'stockProduct'?: boolean;
4664
4693
  /**
4665
- * Date Time
4694
+ * Due Date
4666
4695
  */
4667
4696
  'dueDate'?: string | null;
4668
4697
  /**
@@ -4677,6 +4706,9 @@ export interface ProductSummaryDTO {
4677
4706
  * RRP Price
4678
4707
  */
4679
4708
  'rrp'?: number | null;
4709
+ /**
4710
+ * 3CX Licence Details
4711
+ */
4680
4712
  'licenceDetails'?: TcxLicenceDetailsModel | null;
4681
4713
  /**
4682
4714
  * 3CX Hosting
@@ -4786,11 +4818,11 @@ export interface ProspectDTO {
4786
4818
  */
4787
4819
  'telephone'?: string | null;
4788
4820
  /**
4789
- * Date Time
4821
+ * Last Order Date
4790
4822
  */
4791
4823
  'lastOrderDate'?: string | null;
4792
4824
  /**
4793
- * Date Time
4825
+ * Call Back Date
4794
4826
  */
4795
4827
  'callbackDate'?: string | null;
4796
4828
  /**
@@ -4942,6 +4974,10 @@ export interface RecordingBackupAzureModel {
4942
4974
  * Storage Account Connection String
4943
4975
  */
4944
4976
  'connection_string'?: string;
4977
+ /**
4978
+ * SAS Url
4979
+ */
4980
+ 'sasUrl'?: string;
4945
4981
  /**
4946
4982
  * Recordings Path
4947
4983
  */
@@ -4951,7 +4987,13 @@ export interface RecordingBackupAzureModel {
4951
4987
  * Recordings Backup Info
4952
4988
  */
4953
4989
  export interface RecordingsBackupInfoDTO {
4990
+ /**
4991
+ * Azure Backup Storage
4992
+ */
4954
4993
  'backup'?: RecordingBackupAzureModel | null;
4994
+ /**
4995
+ * 3CX Remote Storage
4996
+ */
4955
4997
  'storage'?: TcxRemoteStorageModel | null;
4956
4998
  }
4957
4999
  /**
@@ -5423,6 +5465,9 @@ export interface ShipmentRequestDTO {
5423
5465
  * Courier
5424
5466
  */
5425
5467
  'courier'?: ShipmentRequestDTOCourierEnum;
5468
+ /**
5469
+ * Address
5470
+ */
5426
5471
  'address'?: AddressModel | null;
5427
5472
  /**
5428
5473
  * Scanned Lines
@@ -5433,7 +5478,7 @@ export interface ShipmentRequestDTO {
5433
5478
  */
5434
5479
  'service'?: string;
5435
5480
  /**
5436
- * Date Time
5481
+ * Ship Date
5437
5482
  */
5438
5483
  'shipDate'?: string | null;
5439
5484
  /**
@@ -7254,7 +7299,7 @@ export interface TcxKeySummaryDTO {
7254
7299
  */
7255
7300
  'edition'?: string;
7256
7301
  /**
7257
- * Date Time
7302
+ * Expiry Date
7258
7303
  */
7259
7304
  'expiry'?: string | null;
7260
7305
  }
@@ -8487,6 +8532,12 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
8487
8532
  * @throws {RequiredError}
8488
8533
  */
8489
8534
  getGetClientCredentials: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8535
+ /**
8536
+ * Get Customer Accounts List
8537
+ * @param {*} [options] Override http request option.
8538
+ * @throws {RequiredError}
8539
+ */
8540
+ getGetCustomerAccountsList: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
8490
8541
  /**
8491
8542
  * Get 3CX Keys
8492
8543
  * @summary Get 3CX Keys
@@ -8825,6 +8876,12 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
8825
8876
  * @throws {RequiredError}
8826
8877
  */
8827
8878
  getGetClientCredentials(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ClientModel>>>;
8879
+ /**
8880
+ * Get Customer Accounts List
8881
+ * @param {*} [options] Override http request option.
8882
+ * @throws {RequiredError}
8883
+ */
8884
+ getGetCustomerAccountsList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<CustomerListAccountDTO>>>;
8828
8885
  /**
8829
8886
  * Get 3CX Keys
8830
8887
  * @summary Get 3CX Keys
@@ -9163,6 +9220,12 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
9163
9220
  * @throws {RequiredError}
9164
9221
  */
9165
9222
  getGetClientCredentials(options?: RawAxiosRequestConfig): AxiosPromise<Array<ClientModel>>;
9223
+ /**
9224
+ * Get Customer Accounts List
9225
+ * @param {*} [options] Override http request option.
9226
+ * @throws {RequiredError}
9227
+ */
9228
+ getGetCustomerAccountsList(options?: RawAxiosRequestConfig): AxiosPromise<Array<CustomerListAccountDTO>>;
9166
9229
  /**
9167
9230
  * Get 3CX Keys
9168
9231
  * @summary Get 3CX Keys
@@ -9501,6 +9564,12 @@ export declare class AccountsApi extends BaseAPI {
9501
9564
  * @throws {RequiredError}
9502
9565
  */
9503
9566
  getGetClientCredentials(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientModel[], any, {}>>;
9567
+ /**
9568
+ * Get Customer Accounts List
9569
+ * @param {*} [options] Override http request option.
9570
+ * @throws {RequiredError}
9571
+ */
9572
+ getGetCustomerAccountsList(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomerListAccountDTO[], any, {}>>;
9504
9573
  /**
9505
9574
  * Get 3CX Keys
9506
9575
  * @summary Get 3CX Keys