@sp-api-sdk/supply-sources-api-2020-07-01 1.1.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.
Files changed (141) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +97 -0
  3. package/dist/cjs/index.js +18 -0
  4. package/dist/cjs/src/api-model/api/supply-sources-api.js +419 -0
  5. package/dist/cjs/src/api-model/api.js +30 -0
  6. package/dist/cjs/src/api-model/base.js +66 -0
  7. package/dist/cjs/src/api-model/common.js +145 -0
  8. package/dist/cjs/src/api-model/configuration.js +91 -0
  9. package/dist/cjs/src/api-model/index.js +32 -0
  10. package/dist/cjs/src/api-model/models/address-with-contact.js +15 -0
  11. package/dist/cjs/src/api-model/models/address.js +15 -0
  12. package/dist/cjs/src/api-model/models/contact-details-primary.js +15 -0
  13. package/dist/cjs/src/api-model/models/contact-details.js +15 -0
  14. package/dist/cjs/src/api-model/models/create-supply-source-request.js +15 -0
  15. package/dist/cjs/src/api-model/models/create-supply-source-response.js +15 -0
  16. package/dist/cjs/src/api-model/models/curbside-pickup-configuration.js +15 -0
  17. package/dist/cjs/src/api-model/models/delivery-channel.js +15 -0
  18. package/dist/cjs/src/api-model/models/duration.js +15 -0
  19. package/dist/cjs/src/api-model/models/error-list.js +15 -0
  20. package/dist/cjs/src/api-model/models/get-supply-sources-response.js +15 -0
  21. package/dist/cjs/src/api-model/models/in-store-pickup-configuration.js +15 -0
  22. package/dist/cjs/src/api-model/models/index.js +53 -0
  23. package/dist/cjs/src/api-model/models/model-error.js +15 -0
  24. package/dist/cjs/src/api-model/models/operating-hour.js +15 -0
  25. package/dist/cjs/src/api-model/models/operating-hours-by-day.js +15 -0
  26. package/dist/cjs/src/api-model/models/operational-configuration.js +15 -0
  27. package/dist/cjs/src/api-model/models/outbound-capability.js +15 -0
  28. package/dist/cjs/src/api-model/models/parking-configuration.js +15 -0
  29. package/dist/cjs/src/api-model/models/parking-cost-type.js +25 -0
  30. package/dist/cjs/src/api-model/models/parking-spot-identification-type.js +25 -0
  31. package/dist/cjs/src/api-model/models/parking-with-address-configuration-all-of.js +15 -0
  32. package/dist/cjs/src/api-model/models/parking-with-address-configuration.js +15 -0
  33. package/dist/cjs/src/api-model/models/pickup-channel.js +15 -0
  34. package/dist/cjs/src/api-model/models/return-location.js +15 -0
  35. package/dist/cjs/src/api-model/models/services-capability.js +15 -0
  36. package/dist/cjs/src/api-model/models/supply-source-capabilities.js +15 -0
  37. package/dist/cjs/src/api-model/models/supply-source-configuration.js +15 -0
  38. package/dist/cjs/src/api-model/models/supply-source-list-inner.js +15 -0
  39. package/dist/cjs/src/api-model/models/supply-source-status-read-only.js +26 -0
  40. package/dist/cjs/src/api-model/models/supply-source-status.js +25 -0
  41. package/dist/cjs/src/api-model/models/supply-source.js +15 -0
  42. package/dist/cjs/src/api-model/models/throughput-cap.js +15 -0
  43. package/dist/cjs/src/api-model/models/throughput-config.js +15 -0
  44. package/dist/cjs/src/api-model/models/throughput-unit.js +24 -0
  45. package/dist/cjs/src/api-model/models/time-unit.js +26 -0
  46. package/dist/cjs/src/api-model/models/update-supply-source-request.js +15 -0
  47. package/dist/cjs/src/api-model/models/update-supply-source-status-request.js +15 -0
  48. package/dist/cjs/src/client.js +13 -0
  49. package/dist/es/index.js +2 -0
  50. package/dist/es/src/api-model/api/supply-sources-api.js +409 -0
  51. package/dist/es/src/api-model/api.js +14 -0
  52. package/dist/es/src/api-model/base.js +58 -0
  53. package/dist/es/src/api-model/common.js +133 -0
  54. package/dist/es/src/api-model/configuration.js +87 -0
  55. package/dist/es/src/api-model/index.js +16 -0
  56. package/dist/es/src/api-model/models/address-with-contact.js +14 -0
  57. package/dist/es/src/api-model/models/address.js +14 -0
  58. package/dist/es/src/api-model/models/contact-details-primary.js +14 -0
  59. package/dist/es/src/api-model/models/contact-details.js +14 -0
  60. package/dist/es/src/api-model/models/create-supply-source-request.js +14 -0
  61. package/dist/es/src/api-model/models/create-supply-source-response.js +14 -0
  62. package/dist/es/src/api-model/models/curbside-pickup-configuration.js +14 -0
  63. package/dist/es/src/api-model/models/delivery-channel.js +14 -0
  64. package/dist/es/src/api-model/models/duration.js +14 -0
  65. package/dist/es/src/api-model/models/error-list.js +14 -0
  66. package/dist/es/src/api-model/models/get-supply-sources-response.js +14 -0
  67. package/dist/es/src/api-model/models/in-store-pickup-configuration.js +14 -0
  68. package/dist/es/src/api-model/models/index.js +37 -0
  69. package/dist/es/src/api-model/models/model-error.js +14 -0
  70. package/dist/es/src/api-model/models/operating-hour.js +14 -0
  71. package/dist/es/src/api-model/models/operating-hours-by-day.js +14 -0
  72. package/dist/es/src/api-model/models/operational-configuration.js +14 -0
  73. package/dist/es/src/api-model/models/outbound-capability.js +14 -0
  74. package/dist/es/src/api-model/models/parking-configuration.js +14 -0
  75. package/dist/es/src/api-model/models/parking-cost-type.js +22 -0
  76. package/dist/es/src/api-model/models/parking-spot-identification-type.js +22 -0
  77. package/dist/es/src/api-model/models/parking-with-address-configuration-all-of.js +14 -0
  78. package/dist/es/src/api-model/models/parking-with-address-configuration.js +14 -0
  79. package/dist/es/src/api-model/models/pickup-channel.js +14 -0
  80. package/dist/es/src/api-model/models/return-location.js +14 -0
  81. package/dist/es/src/api-model/models/services-capability.js +14 -0
  82. package/dist/es/src/api-model/models/supply-source-capabilities.js +14 -0
  83. package/dist/es/src/api-model/models/supply-source-configuration.js +14 -0
  84. package/dist/es/src/api-model/models/supply-source-list-inner.js +14 -0
  85. package/dist/es/src/api-model/models/supply-source-status-read-only.js +23 -0
  86. package/dist/es/src/api-model/models/supply-source-status.js +22 -0
  87. package/dist/es/src/api-model/models/supply-source.js +14 -0
  88. package/dist/es/src/api-model/models/throughput-cap.js +14 -0
  89. package/dist/es/src/api-model/models/throughput-config.js +14 -0
  90. package/dist/es/src/api-model/models/throughput-unit.js +21 -0
  91. package/dist/es/src/api-model/models/time-unit.js +23 -0
  92. package/dist/es/src/api-model/models/update-supply-source-request.js +14 -0
  93. package/dist/es/src/api-model/models/update-supply-source-status-request.js +14 -0
  94. package/dist/es/src/client.js +9 -0
  95. package/dist/types/index.d.ts +2 -0
  96. package/dist/types/src/api-model/api/supply-sources-api.d.ts +323 -0
  97. package/dist/types/src/api-model/api.d.ts +12 -0
  98. package/dist/types/src/api-model/base.d.ts +54 -0
  99. package/dist/types/src/api-model/common.d.ts +66 -0
  100. package/dist/types/src/api-model/configuration.d.ts +83 -0
  101. package/dist/types/src/api-model/index.d.ts +14 -0
  102. package/dist/types/src/api-model/models/address-with-contact.d.ts +32 -0
  103. package/dist/types/src/api-model/models/address.d.ts +84 -0
  104. package/dist/types/src/api-model/models/contact-details-primary.d.ts +30 -0
  105. package/dist/types/src/api-model/models/contact-details.d.ts +25 -0
  106. package/dist/types/src/api-model/models/create-supply-source-request.d.ts +37 -0
  107. package/dist/types/src/api-model/models/create-supply-source-response.d.ts +30 -0
  108. package/dist/types/src/api-model/models/curbside-pickup-configuration.d.ts +38 -0
  109. package/dist/types/src/api-model/models/delivery-channel.d.ts +31 -0
  110. package/dist/types/src/api-model/models/duration.d.ts +31 -0
  111. package/dist/types/src/api-model/models/error-list.d.ts +24 -0
  112. package/dist/types/src/api-model/models/get-supply-sources-response.d.ts +31 -0
  113. package/dist/types/src/api-model/models/in-store-pickup-configuration.d.ts +31 -0
  114. package/dist/types/src/api-model/models/index.d.ts +37 -0
  115. package/dist/types/src/api-model/models/model-error.d.ts +36 -0
  116. package/dist/types/src/api-model/models/operating-hour.d.ts +30 -0
  117. package/dist/types/src/api-model/models/operating-hours-by-day.d.ts +61 -0
  118. package/dist/types/src/api-model/models/operational-configuration.d.ts +46 -0
  119. package/dist/types/src/api-model/models/outbound-capability.d.ts +52 -0
  120. package/dist/types/src/api-model/models/parking-configuration.d.ts +38 -0
  121. package/dist/types/src/api-model/models/parking-cost-type.d.ts +21 -0
  122. package/dist/types/src/api-model/models/parking-spot-identification-type.d.ts +21 -0
  123. package/dist/types/src/api-model/models/parking-with-address-configuration-all-of.d.ts +25 -0
  124. package/dist/types/src/api-model/models/parking-with-address-configuration.d.ts +19 -0
  125. package/dist/types/src/api-model/models/pickup-channel.d.ts +52 -0
  126. package/dist/types/src/api-model/models/return-location.d.ts +31 -0
  127. package/dist/types/src/api-model/models/services-capability.d.ts +31 -0
  128. package/dist/types/src/api-model/models/supply-source-capabilities.d.ts +32 -0
  129. package/dist/types/src/api-model/models/supply-source-configuration.d.ts +31 -0
  130. package/dist/types/src/api-model/models/supply-source-list-inner.d.ts +43 -0
  131. package/dist/types/src/api-model/models/supply-source-status-read-only.d.ts +22 -0
  132. package/dist/types/src/api-model/models/supply-source-status.d.ts +21 -0
  133. package/dist/types/src/api-model/models/supply-source.d.ts +76 -0
  134. package/dist/types/src/api-model/models/throughput-cap.d.ts +31 -0
  135. package/dist/types/src/api-model/models/throughput-config.d.ts +32 -0
  136. package/dist/types/src/api-model/models/throughput-unit.d.ts +20 -0
  137. package/dist/types/src/api-model/models/time-unit.d.ts +22 -0
  138. package/dist/types/src/api-model/models/update-supply-source-request.d.ts +38 -0
  139. package/dist/types/src/api-model/models/update-supply-source-status-request.d.ts +25 -0
  140. package/dist/types/src/client.d.ts +6 -0
  141. package/package.json +44 -0
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SupplySourceStatusReadOnly = void 0;
17
+ /**
18
+ * The `SupplySource` status.
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.SupplySourceStatusReadOnly = {
23
+ Active: 'Active',
24
+ Inactive: 'Inactive',
25
+ Archived: 'Archived'
26
+ };
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SupplySourceStatus = void 0;
17
+ /**
18
+ * The `SupplySource` status
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.SupplySourceStatus = {
23
+ Active: 'Active',
24
+ Inactive: 'Inactive'
25
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ThroughputUnit = void 0;
17
+ /**
18
+ * The throughput unit
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.ThroughputUnit = {
23
+ Order: 'Order'
24
+ };
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.TimeUnit = void 0;
17
+ /**
18
+ * The time unit
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.TimeUnit = {
23
+ Hours: 'Hours',
24
+ Minutes: 'Minutes',
25
+ Days: 'Days'
26
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Selling Partner API for Supply Sources
6
+ * Manage configurations and capabilities of seller supply sources.
7
+ *
8
+ * The version of the OpenAPI document: 2020-07-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SupplySourcesApiClient = exports.clientRateLimits = void 0;
4
+ const common_1 = require("@sp-api-sdk/common");
5
+ const api_model_1 = require("./api-model");
6
+ exports.clientRateLimits = [];
7
+ class SupplySourcesApiClient extends api_model_1.SupplySourcesApi {
8
+ constructor(configuration) {
9
+ const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
10
+ super(new api_model_1.Configuration(), endpoint, axios);
11
+ }
12
+ }
13
+ exports.SupplySourcesApiClient = SupplySourcesApiClient;
@@ -0,0 +1,2 @@
1
+ export * from './src/client';
2
+ export * from './src/api-model/models';