yellowgrid-api-ts 3.2.117 → 3.2.118

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
@@ -536,6 +539,9 @@ export interface AdminOrderRequestDTO {
536
539
  * Provisioning URL
537
540
  */
538
541
  'provisioningUrl'?: string | null;
542
+ /**
543
+ * Shipping Address
544
+ */
539
545
  'shippingAddress'?: AddressModel | null;
540
546
  /**
541
547
  * Part Ship Order
@@ -1646,6 +1652,9 @@ export interface CustomerOrderRequestDTO {
1646
1652
  * Provisioning URL
1647
1653
  */
1648
1654
  'provisioningUrl'?: string | null;
1655
+ /**
1656
+ * Shipping Address
1657
+ */
1649
1658
  'shippingAddress'?: AddressModel | null;
1650
1659
  /**
1651
1660
  * Part Ship Order
@@ -1795,6 +1804,9 @@ export interface DetailedOrderRequestDTO {
1795
1804
  * Provisioning URL
1796
1805
  */
1797
1806
  'provisioningUrl'?: string | null;
1807
+ /**
1808
+ * Shipping Address
1809
+ */
1798
1810
  'shippingAddress'?: AddressModel | null;
1799
1811
  /**
1800
1812
  * Part Ship Order
@@ -4270,7 +4282,7 @@ export interface ProductSummaryDTO {
4270
4282
  */
4271
4283
  'stockProduct'?: boolean;
4272
4284
  /**
4273
- * Date Time
4285
+ * Due Date
4274
4286
  */
4275
4287
  'dueDate'?: string | null;
4276
4288
  /**
@@ -4285,6 +4297,9 @@ export interface ProductSummaryDTO {
4285
4297
  * RRP Price
4286
4298
  */
4287
4299
  'rrp'?: number | null;
4300
+ /**
4301
+ * 3CX Licence Details
4302
+ */
4288
4303
  'licenceDetails'?: TcxLicenceDetailsModel | null;
4289
4304
  /**
4290
4305
  * 3CX Hosting
@@ -4394,11 +4409,11 @@ export interface ProspectDTO {
4394
4409
  */
4395
4410
  'telephone'?: string | null;
4396
4411
  /**
4397
- * Date Time
4412
+ * Last Order Date
4398
4413
  */
4399
4414
  'lastOrderDate'?: string | null;
4400
4415
  /**
4401
- * Date Time
4416
+ * Call Back Date
4402
4417
  */
4403
4418
  'callbackDate'?: string | null;
4404
4419
  /**
@@ -4554,7 +4569,13 @@ export interface RecordingBackupAzureModel {
4554
4569
  * Recordings Backup Info
4555
4570
  */
4556
4571
  export interface RecordingsBackupInfoDTO {
4572
+ /**
4573
+ * Azure Backup Storage
4574
+ */
4557
4575
  'backup'?: RecordingBackupAzureModel | null;
4576
+ /**
4577
+ * 3CX Remote Storage
4578
+ */
4558
4579
  'storage'?: TcxRemoteStorageModel | null;
4559
4580
  }
4560
4581
  /**
@@ -5026,6 +5047,9 @@ export interface ShipmentRequestDTO {
5026
5047
  * Courier
5027
5048
  */
5028
5049
  'courier'?: ShipmentRequestDTOCourierEnum;
5050
+ /**
5051
+ * Address
5052
+ */
5029
5053
  'address'?: AddressModel | null;
5030
5054
  /**
5031
5055
  * Scanned Lines
@@ -5036,7 +5060,7 @@ export interface ShipmentRequestDTO {
5036
5060
  */
5037
5061
  'service'?: string;
5038
5062
  /**
5039
- * Date Time
5063
+ * Ship Date
5040
5064
  */
5041
5065
  'shipDate'?: string | null;
5042
5066
  /**
@@ -6820,7 +6844,7 @@ export interface TcxKeySummaryDTO {
6820
6844
  */
6821
6845
  'edition'?: string;
6822
6846
  /**
6823
- * Date Time
6847
+ * Expiry Date
6824
6848
  */
6825
6849
  'expiry'?: string | null;
6826
6850
  }