@flowio/api-mock-generator 6.17.86 → 6.17.88

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 (3) hide show
  1. package/dist/api.json +100 -1535
  2. package/package.json +2 -2
  3. package/src/api.json +100 -1535
package/src/api.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "apidoc" : {
3
- "version" : "1.0.0"
3
+ "version" : "0.19.6"
4
4
  },
5
5
  "name" : "API",
6
6
  "organization" : {
@@ -10,7 +10,7 @@
10
10
  "key" : "api"
11
11
  },
12
12
  "namespace" : "io.flow.v0",
13
- "version" : "0.19.2",
13
+ "version" : "0.19.6",
14
14
  "info" : {
15
15
  "license" : {
16
16
  "name" : "MIT",
@@ -23,6 +23,21 @@
23
23
  },
24
24
  "headers" : [ ],
25
25
  "imports" : [ {
26
+ "uri" : "https://app.apibuilder.io/flow/inventory/latest/service.json",
27
+ "namespace" : "io.flow.inventory.v0",
28
+ "organization" : {
29
+ "key" : "flow"
30
+ },
31
+ "application" : {
32
+ "key" : "inventory"
33
+ },
34
+ "version" : "0.19.6",
35
+ "enums" : [ "aggregate", "inventory_status", "update_type" ],
36
+ "interfaces" : [ ],
37
+ "unions" : [ "inventory_strategy", "reservation_error" ],
38
+ "models" : [ "external_api_timeout_reservation_error", "generic_reservation_error", "inventory_backorder", "inventory_center_reference", "inventory_check_response", "inventory_check_response_item", "inventory_experience_reference", "inventory_follow_ecommerce_platform", "inventory_item_reference", "inventory_request", "inventory_request_item", "inventory_rule", "inventory_rule_form", "inventory_rule_version", "inventory_snapshot", "inventory_snapshot_version", "inventory_stock", "inventory_unlimited", "inventory_update", "inventory_update_form", "inventory_update_version", "no_inventory_reservation_error", "no_inventory_reservation_error_item", "pfs_inventory_check_response", "pfs_inventory_check_response_item", "pfs_inventory_status", "reservation", "reservation_form", "reservation_item", "reservation_item_form", "reservation_item_reference", "reservation_order_reference" ],
39
+ "annotations" : [ ]
40
+ }, {
26
41
  "uri" : "https://app.apibuilder.io/flow/apple-pay/latest/service.json",
27
42
  "namespace" : "io.flow.apple.pay.v0",
28
43
  "organization" : {
@@ -31,7 +46,7 @@
31
46
  "application" : {
32
47
  "key" : "apple-pay"
33
48
  },
34
- "version" : "0.3.73",
49
+ "version" : "0.3.75",
35
50
  "enums" : [ "apple_pay_contact_field", "apple_pay_line_item_type", "apple_pay_merchant_capability", "apple_pay_shipping_type", "apple_pay_supported_networks" ],
36
51
  "interfaces" : [ ],
37
52
  "unions" : [ ],
@@ -46,7 +61,7 @@
46
61
  "application" : {
47
62
  "key" : "google-pay"
48
63
  },
49
- "version" : "0.3.73",
64
+ "version" : "0.3.75",
50
65
  "enums" : [ "auth_method", "billing_address_format", "card_gateway", "card_network", "payment_method_type", "tokenization_type", "total_price_status" ],
51
66
  "interfaces" : [ ],
52
67
  "unions" : [ "payment_method_token" ],
@@ -61,7 +76,7 @@
61
76
  "application" : {
62
77
  "key" : "shopify-external"
63
78
  },
64
- "version" : "0.3.73",
79
+ "version" : "0.3.75",
65
80
  "enums" : [ "cancel_reason", "discount_status", "discount_type", "discrepancy_reason", "event", "financial_status_type", "format", "fulfillment_service", "fulfillment_status_type", "graphql_weight_unit", "inventory_behaviour", "inventory_management", "inventory_policy", "kind_type", "localized_price", "order_status_type", "price_rule_allocation_method", "price_rule_customer_selection", "price_rule_target_selection", "price_rule_target_type", "price_rule_value_type", "published_scope", "restock_type", "shopify_customer_state", "shopify_discount_pagination_direction", "shopify_gift_card_status", "shopify_plan_name", "shopify_processing_method_type", "shopify_transaction_error_code", "shopify_transaction_status", "topic", "value_type", "weight_unit" ],
66
81
  "interfaces" : [ ],
67
82
  "unions" : [ ],
@@ -76,7 +91,7 @@
76
91
  "application" : {
77
92
  "key" : "ben-test-internal"
78
93
  },
79
- "version" : "0.23.99",
94
+ "version" : "0.24.17",
80
95
  "enums" : [ ],
81
96
  "interfaces" : [ "generate_load" ],
82
97
  "unions" : [ "generate_load" ],
@@ -177,18 +192,6 @@
177
192
  } ],
178
193
  "attributes" : [ ],
179
194
  "description" : "The key of each possible adjustment is defined here."
180
- }, {
181
- "name" : "aggregate",
182
- "plural" : "aggregates",
183
- "values" : [ {
184
- "name" : "maximum",
185
- "attributes" : [ ]
186
- }, {
187
- "name" : "minimum",
188
- "attributes" : [ ]
189
- } ],
190
- "attributes" : [ ],
191
- "description" : "The aggregate function to be applied"
192
195
  }, {
193
196
  "name" : "attribute_data_type",
194
197
  "plural" : "attribute_data_types",
@@ -1205,6 +1208,10 @@
1205
1208
  "name" : "voec",
1206
1209
  "attributes" : [ ],
1207
1210
  "description" : "The VAT on Electronic Commerce (VOEC) to comply with VAT on imported goods. see: https://www.skatteetaten.no/globalassets/bedrift-og-organisasjon/voec/voec-guidelines-20200807.pdf"
1211
+ }, {
1212
+ "name" : "zaz",
1213
+ "attributes" : [ ],
1214
+ "description" : "The Centralized Customs Settlement Procedure (ZAZ) to comply with VAT on imported goods. see: https://www.bazg.admin.ch/bazg/en/home/services/services-companies/dienstleistungen-firmen/das-zollkonto-im-zentralisierten-abrechnungsverfahren-des-zolls.html"
1208
1215
  } ],
1209
1216
  "attributes" : [ ]
1210
1217
  }, {
@@ -2423,17 +2430,6 @@
2423
2430
  "attributes" : [ ]
2424
2431
  } ],
2425
2432
  "attributes" : [ ]
2426
- }, {
2427
- "name" : "inventory_status",
2428
- "plural" : "inventory_statuses",
2429
- "values" : [ {
2430
- "name" : "has_inventory",
2431
- "attributes" : [ ]
2432
- }, {
2433
- "name" : "no_inventory",
2434
- "attributes" : [ ]
2435
- } ],
2436
- "attributes" : [ ]
2437
2433
  }, {
2438
2434
  "name" : "invitation_error_code",
2439
2435
  "plural" : "invitation_error_codes",
@@ -3313,6 +3309,27 @@
3313
3309
  "attributes" : [ ]
3314
3310
  } ],
3315
3311
  "attributes" : [ ]
3312
+ }, {
3313
+ "name" : "origin_location_source",
3314
+ "plural" : "origin_location_sources",
3315
+ "values" : [ {
3316
+ "name" : "public_hub_code",
3317
+ "attributes" : [ ],
3318
+ "description" : "Origin location comes from Public Hub Code"
3319
+ }, {
3320
+ "name" : "merchant_hub_code_override",
3321
+ "attributes" : [ ],
3322
+ "description" : "Origin location comes from Merchant Hub Code override"
3323
+ }, {
3324
+ "name" : "shopify",
3325
+ "attributes" : [ ],
3326
+ "description" : "Origin location comes from Shopify"
3327
+ }, {
3328
+ "name" : "fallback_location",
3329
+ "attributes" : [ ],
3330
+ "description" : "Origin location comes from fallback location"
3331
+ } ],
3332
+ "attributes" : [ ]
3316
3333
  }, {
3317
3334
  "name" : "package_dimensions_source",
3318
3335
  "plural" : "package_dimensions_sources",
@@ -5479,20 +5496,6 @@
5479
5496
  "attributes" : [ ]
5480
5497
  } ],
5481
5498
  "attributes" : [ ]
5482
- }, {
5483
- "name" : "update_type",
5484
- "plural" : "update_types",
5485
- "values" : [ {
5486
- "name" : "change",
5487
- "attributes" : [ ],
5488
- "description" : "Long value to increment or decrement. Positive quantities are added to inventory while negative quantities are decrement from inventory."
5489
- }, {
5490
- "name" : "set",
5491
- "attributes" : [ ],
5492
- "description" : "Set absolute quantity to new value with no regard for previous updates"
5493
- } ],
5494
- "attributes" : [ ],
5495
- "description" : "Types of updates that can be made on quantity of inventory"
5496
5499
  }, {
5497
5500
  "name" : "user_status",
5498
5501
  "plural" : "user_statuses",
@@ -8458,34 +8461,6 @@
8458
8461
  "attributes" : [ ],
8459
8462
  "interfaces" : [ ],
8460
8463
  "discriminator" : "discriminator"
8461
- }, {
8462
- "name" : "inventory_strategy",
8463
- "plural" : "inventory_strategies",
8464
- "types" : [ {
8465
- "type" : "inventory_backorder",
8466
- "attributes" : [ ],
8467
- "description" : "Enables backorders, setting an optional number of units that we allow for backorder. For example, a backorder w/ quantity 10 will enable selling until the actual inventory quantity is -10.",
8468
- "discriminator_value" : "inventory_backorder"
8469
- }, {
8470
- "type" : "inventory_stock",
8471
- "attributes" : [ ],
8472
- "description" : "Treats inventory as available as long as the actual inventory quantity is > the specified quantity. A common use case is to set quantity to zero to indicate availability as long as there is at least 1 unit available.",
8473
- "discriminator_value" : "inventory_stock"
8474
- }, {
8475
- "type" : "inventory_unlimited",
8476
- "attributes" : [ ],
8477
- "description" : "Items affected with rules pursuing an unlimited strategy will always be available",
8478
- "discriminator_value" : "inventory_unlimited"
8479
- }, {
8480
- "type" : "inventory_follow_ecommerce_platform",
8481
- "attributes" : [ ],
8482
- "description" : "Items affected with rules pursuing an ecommerce platform strategy will always follow the ecommerce platform inventory",
8483
- "discriminator_value" : "inventory_follow_ecommerce_platform"
8484
- } ],
8485
- "attributes" : [ ],
8486
- "interfaces" : [ ],
8487
- "discriminator" : "discriminator",
8488
- "description" : "Types of rules used to apply on inventory to calculate available quantity"
8489
8464
  }, {
8490
8465
  "name" : "know_your_business",
8491
8466
  "plural" : "know_your_businesses",
@@ -9333,34 +9308,6 @@
9333
9308
  "attributes" : [ ],
9334
9309
  "interfaces" : [ ],
9335
9310
  "discriminator" : "discriminator"
9336
- }, {
9337
- "name" : "reservation_error",
9338
- "plural" : "reservation_errors",
9339
- "types" : [ {
9340
- "type" : "no_inventory_reservation_error",
9341
- "attributes" : [ ],
9342
- "description" : "Inventory is not available for all or subset of item quantities requested",
9343
- "discriminator_value" : "no_inventory"
9344
- }, {
9345
- "type" : "external_api_timeout_reservation_error",
9346
- "attributes" : [ ],
9347
- "description" : "API call to external API (ex: PFS) timed out",
9348
- "discriminator_value" : "external_api_timeout"
9349
- }, {
9350
- "type" : "generic_reservation_error",
9351
- "attributes" : [ ],
9352
- "description" : "Generic reservation error",
9353
- "discriminator_value" : "generic_reservation_error"
9354
- } ],
9355
- "attributes" : [ {
9356
- "name" : "linter",
9357
- "value" : {
9358
- "error_version" : "1"
9359
- }
9360
- } ],
9361
- "interfaces" : [ ],
9362
- "discriminator" : "code",
9363
- "description" : "Types of failed inventory reservation reasons"
9364
9311
  }, {
9365
9312
  "name" : "return_source",
9366
9313
  "plural" : "return_sources",
@@ -13607,6 +13554,13 @@
13607
13554
  "required" : false,
13608
13555
  "attributes" : [ ],
13609
13556
  "annotations" : [ ]
13557
+ }, {
13558
+ "name" : "origin_location_source",
13559
+ "type" : "origin_location_source",
13560
+ "required" : false,
13561
+ "attributes" : [ ],
13562
+ "annotations" : [ ],
13563
+ "description" : "Indicates where the origin location comes from"
13610
13564
  }, {
13611
13565
  "name" : "hub_code",
13612
13566
  "type" : "string",
@@ -20800,7 +20754,14 @@
20800
20754
  "required" : false,
20801
20755
  "attributes" : [ ],
20802
20756
  "annotations" : [ ],
20803
- "description" : "indicates which party estimated the package"
20757
+ "description" : "Indicates which party estimated the package"
20758
+ }, {
20759
+ "name" : "origin_location_source",
20760
+ "type" : "origin_location_source",
20761
+ "required" : false,
20762
+ "attributes" : [ ],
20763
+ "annotations" : [ ],
20764
+ "description" : "Indicates where origin location comes from"
20804
20765
  }, {
20805
20766
  "name" : "reference_id",
20806
20767
  "type" : "string",
@@ -24228,24 +24189,6 @@
24228
24189
  } ],
24229
24190
  "attributes" : [ ],
24230
24191
  "interfaces" : [ ]
24231
- }, {
24232
- "name" : "external_api_timeout_reservation_error",
24233
- "plural" : "external_api_timeout_reservation_errors",
24234
- "fields" : [ {
24235
- "name" : "messages",
24236
- "type" : "[string]",
24237
- "required" : true,
24238
- "attributes" : [ ],
24239
- "annotations" : [ ],
24240
- "minimum" : 1
24241
- } ],
24242
- "attributes" : [ {
24243
- "name" : "linter",
24244
- "value" : {
24245
- "error_version" : "1"
24246
- }
24247
- } ],
24248
- "interfaces" : [ ]
24249
24192
  }, {
24250
24193
  "name" : "fee_deduction",
24251
24194
  "plural" : "fee_deductions",
@@ -25489,24 +25432,6 @@
25489
25432
  } ],
25490
25433
  "interfaces" : [ ],
25491
25434
  "description" : "An error of some type has occurred. The most common error will be validation on input. See messages for details."
25492
- }, {
25493
- "name" : "generic_reservation_error",
25494
- "plural" : "generic_reservation_errors",
25495
- "fields" : [ {
25496
- "name" : "messages",
25497
- "type" : "[string]",
25498
- "required" : true,
25499
- "attributes" : [ ],
25500
- "annotations" : [ ],
25501
- "minimum" : 1
25502
- } ],
25503
- "attributes" : [ {
25504
- "name" : "linter",
25505
- "value" : {
25506
- "error_version" : "1"
25507
- }
25508
- } ],
25509
- "interfaces" : [ ]
25510
25435
  }, {
25511
25436
  "name" : "geo_form",
25512
25437
  "plural" : "geo_forms",
@@ -27233,467 +27158,6 @@
27233
27158
  } ],
27234
27159
  "attributes" : [ ],
27235
27160
  "interfaces" : [ ]
27236
- }, {
27237
- "name" : "inventory_backorder",
27238
- "plural" : "inventory_backorders",
27239
- "fields" : [ {
27240
- "name" : "quantity",
27241
- "type" : "long",
27242
- "required" : true,
27243
- "attributes" : [ ],
27244
- "annotations" : [ ],
27245
- "minimum" : 0
27246
- } ],
27247
- "attributes" : [ ],
27248
- "interfaces" : [ ],
27249
- "description" : "Enables backorders, setting an optional number of units that we allow for backorder. For example, a backorder w/ quantity 10 will enable selling until the actual inventory quantity is -10."
27250
- }, {
27251
- "name" : "inventory_center_reference",
27252
- "plural" : "inventory_center_references",
27253
- "fields" : [ {
27254
- "name" : "key",
27255
- "type" : "string",
27256
- "required" : true,
27257
- "attributes" : [ ],
27258
- "annotations" : [ ]
27259
- } ],
27260
- "attributes" : [ ],
27261
- "interfaces" : [ ]
27262
- }, {
27263
- "name" : "inventory_check_response",
27264
- "plural" : "inventory_check_responses",
27265
- "fields" : [ {
27266
- "name" : "items",
27267
- "type" : "[inventory_check_response_item]",
27268
- "required" : true,
27269
- "attributes" : [ ],
27270
- "annotations" : [ ]
27271
- } ],
27272
- "attributes" : [ ],
27273
- "interfaces" : [ ]
27274
- }, {
27275
- "name" : "inventory_check_response_item",
27276
- "plural" : "inventory_check_response_items",
27277
- "fields" : [ {
27278
- "name" : "number",
27279
- "type" : "string",
27280
- "required" : true,
27281
- "attributes" : [ ],
27282
- "annotations" : [ ],
27283
- "description" : "Client's unique identifier for this object"
27284
- }, {
27285
- "name" : "quantity",
27286
- "type" : "long",
27287
- "required" : true,
27288
- "attributes" : [ ],
27289
- "annotations" : [ ]
27290
- }, {
27291
- "name" : "inventory_status",
27292
- "type" : "inventory_status",
27293
- "required" : true,
27294
- "attributes" : [ ],
27295
- "annotations" : [ ]
27296
- } ],
27297
- "attributes" : [ ],
27298
- "interfaces" : [ ]
27299
- }, {
27300
- "name" : "inventory_experience_reference",
27301
- "plural" : "inventory_experience_references",
27302
- "fields" : [ {
27303
- "name" : "key",
27304
- "type" : "string",
27305
- "required" : true,
27306
- "attributes" : [ ],
27307
- "annotations" : [ ]
27308
- } ],
27309
- "attributes" : [ ],
27310
- "interfaces" : [ ]
27311
- }, {
27312
- "name" : "inventory_follow_ecommerce_platform",
27313
- "plural" : "inventory_follow_ecommerce_platforms",
27314
- "fields" : [ {
27315
- "name" : "quantity",
27316
- "type" : "long",
27317
- "required" : true,
27318
- "attributes" : [ ],
27319
- "annotations" : [ ],
27320
- "minimum" : 0
27321
- } ],
27322
- "attributes" : [ ],
27323
- "interfaces" : [ ],
27324
- "description" : "Items affected with rules pursuing an ecommerce platform strategy will always follow the ecommerce platform inventory"
27325
- }, {
27326
- "name" : "inventory_item_reference",
27327
- "plural" : "inventory_item_references",
27328
- "fields" : [ {
27329
- "name" : "number",
27330
- "type" : "string",
27331
- "required" : true,
27332
- "attributes" : [ ],
27333
- "annotations" : [ ],
27334
- "description" : "Client's unique identifier for this object"
27335
- } ],
27336
- "attributes" : [ ],
27337
- "interfaces" : [ ]
27338
- }, {
27339
- "name" : "inventory_request",
27340
- "plural" : "inventory_requests",
27341
- "fields" : [ {
27342
- "name" : "items",
27343
- "type" : "[inventory_request_item]",
27344
- "required" : true,
27345
- "attributes" : [ ],
27346
- "annotations" : [ ]
27347
- } ],
27348
- "attributes" : [ ],
27349
- "interfaces" : [ ]
27350
- }, {
27351
- "name" : "inventory_request_item",
27352
- "plural" : "inventory_request_items",
27353
- "fields" : [ {
27354
- "name" : "number",
27355
- "type" : "string",
27356
- "required" : true,
27357
- "attributes" : [ ],
27358
- "annotations" : [ ],
27359
- "description" : "Client's unique identifier for this object"
27360
- }, {
27361
- "name" : "quantity",
27362
- "type" : "long",
27363
- "required" : true,
27364
- "attributes" : [ ],
27365
- "annotations" : [ ]
27366
- } ],
27367
- "attributes" : [ ],
27368
- "interfaces" : [ ]
27369
- }, {
27370
- "name" : "inventory_rule",
27371
- "plural" : "inventory_rules",
27372
- "fields" : [ {
27373
- "name" : "id",
27374
- "type" : "string",
27375
- "required" : true,
27376
- "attributes" : [ ],
27377
- "annotations" : [ ],
27378
- "description" : "Globally unique identifier"
27379
- }, {
27380
- "name" : "position",
27381
- "type" : "long",
27382
- "required" : true,
27383
- "attributes" : [ ],
27384
- "annotations" : [ ],
27385
- "description" : "Order in which rule applicability will be checked"
27386
- }, {
27387
- "name" : "query",
27388
- "type" : "string",
27389
- "required" : true,
27390
- "attributes" : [ ],
27391
- "annotations" : [ ],
27392
- "description" : "Query to be used to apply this rule. Only '*' is available for now, which will apply to all cases",
27393
- "example" : "*"
27394
- }, {
27395
- "name" : "strategy",
27396
- "type" : "inventory_strategy",
27397
- "required" : true,
27398
- "attributes" : [ ],
27399
- "annotations" : [ ],
27400
- "description" : "Type of inventory strategy to be used for this rule",
27401
- "example" : "in_stock, backorder"
27402
- } ],
27403
- "attributes" : [ ],
27404
- "interfaces" : [ ],
27405
- "description" : "Ordered list of rules to apply, from first to last, to get available quantity. This is unique per organization"
27406
- }, {
27407
- "name" : "inventory_rule_form",
27408
- "plural" : "inventory_rule_forms",
27409
- "fields" : [ {
27410
- "name" : "position",
27411
- "type" : "long",
27412
- "required" : true,
27413
- "attributes" : [ ],
27414
- "annotations" : [ ],
27415
- "description" : "Order in which rule applicability will be checked"
27416
- }, {
27417
- "name" : "query",
27418
- "type" : "string",
27419
- "required" : true,
27420
- "attributes" : [ ],
27421
- "annotations" : [ ],
27422
- "description" : "Query to be used to apply this rule. Only '*' is available for now, which will apply to all cases",
27423
- "example" : "*"
27424
- }, {
27425
- "name" : "strategy",
27426
- "type" : "inventory_strategy",
27427
- "required" : true,
27428
- "attributes" : [ ],
27429
- "annotations" : [ ],
27430
- "description" : "Type of inventory strategy to be used for this rule",
27431
- "example" : "in_stock, backorder"
27432
- } ],
27433
- "attributes" : [ ],
27434
- "interfaces" : [ ]
27435
- }, {
27436
- "name" : "inventory_rule_version",
27437
- "plural" : "inventory_rule_versions",
27438
- "fields" : [ {
27439
- "name" : "id",
27440
- "type" : "string",
27441
- "required" : true,
27442
- "attributes" : [ ],
27443
- "annotations" : [ ],
27444
- "description" : "Globally unique identifier"
27445
- }, {
27446
- "name" : "timestamp",
27447
- "type" : "date-time-iso8601",
27448
- "required" : true,
27449
- "attributes" : [ ],
27450
- "annotations" : [ ]
27451
- }, {
27452
- "name" : "type",
27453
- "type" : "change_type",
27454
- "required" : true,
27455
- "attributes" : [ ],
27456
- "annotations" : [ ]
27457
- }, {
27458
- "name" : "inventory_rule",
27459
- "type" : "inventory_rule",
27460
- "required" : true,
27461
- "attributes" : [ ],
27462
- "annotations" : [ ]
27463
- } ],
27464
- "attributes" : [ ],
27465
- "interfaces" : [ ]
27466
- }, {
27467
- "name" : "inventory_snapshot",
27468
- "plural" : "inventory_snapshots",
27469
- "fields" : [ {
27470
- "name" : "id",
27471
- "type" : "string",
27472
- "required" : true,
27473
- "attributes" : [ ],
27474
- "annotations" : [ ],
27475
- "description" : "Globally unique identifier"
27476
- }, {
27477
- "name" : "available",
27478
- "type" : "long",
27479
- "required" : true,
27480
- "attributes" : [ ],
27481
- "annotations" : [ ],
27482
- "description" : "Actual available quantity for an item at a given center"
27483
- }, {
27484
- "name" : "center",
27485
- "type" : "inventory_center_reference",
27486
- "required" : true,
27487
- "attributes" : [ ],
27488
- "annotations" : [ ],
27489
- "description" : "Location capable of fulfilling a shipment for item in inventory"
27490
- }, {
27491
- "name" : "item",
27492
- "type" : "inventory_item_reference",
27493
- "required" : true,
27494
- "attributes" : [ ],
27495
- "annotations" : [ ],
27496
- "description" : "Client item being stored in inventory"
27497
- }, {
27498
- "name" : "quantity",
27499
- "type" : "long",
27500
- "required" : true,
27501
- "attributes" : [ ],
27502
- "annotations" : [ ],
27503
- "description" : "Running total of inventory update quantities provided"
27504
- } ],
27505
- "attributes" : [ ],
27506
- "interfaces" : [ ],
27507
- "description" : "Inventory snapshot reflects the current quantity and available number of units for a given center / item"
27508
- }, {
27509
- "name" : "inventory_snapshot_version",
27510
- "plural" : "inventory_snapshot_versions",
27511
- "fields" : [ {
27512
- "name" : "id",
27513
- "type" : "string",
27514
- "required" : true,
27515
- "attributes" : [ ],
27516
- "annotations" : [ ],
27517
- "description" : "Globally unique identifier"
27518
- }, {
27519
- "name" : "timestamp",
27520
- "type" : "date-time-iso8601",
27521
- "required" : true,
27522
- "attributes" : [ ],
27523
- "annotations" : [ ]
27524
- }, {
27525
- "name" : "type",
27526
- "type" : "change_type",
27527
- "required" : true,
27528
- "attributes" : [ ],
27529
- "annotations" : [ ]
27530
- }, {
27531
- "name" : "inventory_snapshot",
27532
- "type" : "inventory_snapshot",
27533
- "required" : true,
27534
- "attributes" : [ ],
27535
- "annotations" : [ ]
27536
- } ],
27537
- "attributes" : [ ],
27538
- "interfaces" : [ ]
27539
- }, {
27540
- "name" : "inventory_stock",
27541
- "plural" : "inventory_stocks",
27542
- "fields" : [ {
27543
- "name" : "quantity",
27544
- "type" : "long",
27545
- "required" : true,
27546
- "attributes" : [ ],
27547
- "annotations" : [ ],
27548
- "minimum" : 0
27549
- } ],
27550
- "attributes" : [ ],
27551
- "interfaces" : [ ],
27552
- "description" : "Treats inventory as available as long as the actual inventory quantity is > the specified quantity. A common use case is to set quantity to zero to indicate availability as long as there is at least 1 unit available."
27553
- }, {
27554
- "name" : "inventory_unlimited",
27555
- "plural" : "inventory_unlimiteds",
27556
- "fields" : [ {
27557
- "name" : "placeholder",
27558
- "type" : "string",
27559
- "required" : false,
27560
- "attributes" : [ ],
27561
- "annotations" : [ ],
27562
- "default" : "unlimited"
27563
- } ],
27564
- "attributes" : [ ],
27565
- "interfaces" : [ ],
27566
- "description" : "Items affected with rules pursuing an unlimited strategy will always be available"
27567
- }, {
27568
- "name" : "inventory_update",
27569
- "plural" : "inventory_updates",
27570
- "fields" : [ {
27571
- "name" : "id",
27572
- "type" : "string",
27573
- "required" : true,
27574
- "attributes" : [ ],
27575
- "annotations" : [ ],
27576
- "description" : "Globally unique identifier"
27577
- }, {
27578
- "name" : "idempotency_key",
27579
- "type" : "string",
27580
- "required" : true,
27581
- "attributes" : [ ],
27582
- "annotations" : [ ]
27583
- }, {
27584
- "name" : "center",
27585
- "type" : "inventory_center_reference",
27586
- "required" : true,
27587
- "attributes" : [ ],
27588
- "annotations" : [ ],
27589
- "description" : "Location capable of fulfilling a shipment for item in inventory"
27590
- }, {
27591
- "name" : "item",
27592
- "type" : "inventory_item_reference",
27593
- "required" : true,
27594
- "attributes" : [ ],
27595
- "annotations" : [ ],
27596
- "description" : "Client item number being stored in inventory"
27597
- }, {
27598
- "name" : "notes",
27599
- "type" : "object",
27600
- "required" : true,
27601
- "attributes" : [ ],
27602
- "annotations" : [ ]
27603
- }, {
27604
- "name" : "quantity",
27605
- "type" : "long",
27606
- "required" : true,
27607
- "attributes" : [ ],
27608
- "annotations" : [ ],
27609
- "description" : "Amount of the update made"
27610
- }, {
27611
- "name" : "type",
27612
- "type" : "update_type",
27613
- "required" : true,
27614
- "attributes" : [ ],
27615
- "annotations" : [ ]
27616
- } ],
27617
- "attributes" : [ ],
27618
- "interfaces" : [ ],
27619
- "description" : "Represents a single update on inventory quantity"
27620
- }, {
27621
- "name" : "inventory_update_form",
27622
- "plural" : "inventory_update_forms",
27623
- "fields" : [ {
27624
- "name" : "center",
27625
- "type" : "string",
27626
- "required" : true,
27627
- "attributes" : [ ],
27628
- "annotations" : [ ],
27629
- "description" : "Center capable of fulfilling a shipment for item in inventory"
27630
- }, {
27631
- "name" : "idempotency_key",
27632
- "type" : "string",
27633
- "required" : true,
27634
- "attributes" : [ ],
27635
- "annotations" : [ ]
27636
- }, {
27637
- "name" : "item_number",
27638
- "type" : "string",
27639
- "required" : true,
27640
- "attributes" : [ ],
27641
- "annotations" : [ ],
27642
- "description" : "Summary about the item being kept in inventory"
27643
- }, {
27644
- "name" : "quantity",
27645
- "type" : "long",
27646
- "required" : true,
27647
- "attributes" : [ ],
27648
- "annotations" : [ ],
27649
- "description" : "Amount of the update to be made"
27650
- }, {
27651
- "name" : "type",
27652
- "type" : "update_type",
27653
- "required" : true,
27654
- "attributes" : [ ],
27655
- "annotations" : [ ]
27656
- }, {
27657
- "name" : "notes",
27658
- "type" : "object",
27659
- "required" : false,
27660
- "attributes" : [ ],
27661
- "annotations" : [ ]
27662
- } ],
27663
- "attributes" : [ ],
27664
- "interfaces" : [ ],
27665
- "description" : "Form used to create an update on inventory. If inventory for center/item has not been previously created, a new row is created for the center/item tuple."
27666
- }, {
27667
- "name" : "inventory_update_version",
27668
- "plural" : "inventory_update_versions",
27669
- "fields" : [ {
27670
- "name" : "id",
27671
- "type" : "string",
27672
- "required" : true,
27673
- "attributes" : [ ],
27674
- "annotations" : [ ],
27675
- "description" : "Globally unique identifier"
27676
- }, {
27677
- "name" : "timestamp",
27678
- "type" : "date-time-iso8601",
27679
- "required" : true,
27680
- "attributes" : [ ],
27681
- "annotations" : [ ]
27682
- }, {
27683
- "name" : "type",
27684
- "type" : "change_type",
27685
- "required" : true,
27686
- "attributes" : [ ],
27687
- "annotations" : [ ]
27688
- }, {
27689
- "name" : "inventory_update",
27690
- "type" : "inventory_update",
27691
- "required" : true,
27692
- "attributes" : [ ],
27693
- "annotations" : [ ]
27694
- } ],
27695
- "attributes" : [ ],
27696
- "interfaces" : [ ]
27697
27161
  }, {
27698
27162
  "name" : "invitation",
27699
27163
  "plural" : "invitations",
@@ -32377,55 +31841,6 @@
32377
31841
  } ],
32378
31842
  "attributes" : [ ],
32379
31843
  "interfaces" : [ ]
32380
- }, {
32381
- "name" : "no_inventory_reservation_error",
32382
- "plural" : "no_inventory_reservation_errors",
32383
- "fields" : [ {
32384
- "name" : "messages",
32385
- "type" : "[string]",
32386
- "required" : true,
32387
- "attributes" : [ ],
32388
- "annotations" : [ ],
32389
- "minimum" : 1
32390
- }, {
32391
- "name" : "items",
32392
- "type" : "[no_inventory_reservation_error_item]",
32393
- "required" : true,
32394
- "attributes" : [ ],
32395
- "annotations" : [ ]
32396
- } ],
32397
- "attributes" : [ {
32398
- "name" : "linter",
32399
- "value" : {
32400
- "error_version" : "1"
32401
- }
32402
- } ],
32403
- "interfaces" : [ ]
32404
- }, {
32405
- "name" : "no_inventory_reservation_error_item",
32406
- "plural" : "no_inventory_reservation_error_items",
32407
- "fields" : [ {
32408
- "name" : "number",
32409
- "type" : "string",
32410
- "required" : true,
32411
- "attributes" : [ ],
32412
- "annotations" : [ ],
32413
- "description" : "Client's unique identifier for this object"
32414
- }, {
32415
- "name" : "requested_quantity",
32416
- "type" : "long",
32417
- "required" : true,
32418
- "attributes" : [ ],
32419
- "annotations" : [ ]
32420
- }, {
32421
- "name" : "available_quantity",
32422
- "type" : "long",
32423
- "required" : true,
32424
- "attributes" : [ ],
32425
- "annotations" : [ ]
32426
- } ],
32427
- "attributes" : [ ],
32428
- "interfaces" : [ ]
32429
31844
  }, {
32430
31845
  "name" : "notification_deleted_v2",
32431
31846
  "plural" : "notification_deleted_v2s",
@@ -41094,55 +40509,6 @@
41094
40509
  "attributes" : [ ],
41095
40510
  "interfaces" : [ ],
41096
40511
  "description" : "A Flow API route and method."
41097
- }, {
41098
- "name" : "pfs_inventory_check_response",
41099
- "plural" : "pfs_inventory_check_responses",
41100
- "fields" : [ {
41101
- "name" : "items",
41102
- "type" : "map[pfs_inventory_check_response_item]",
41103
- "required" : true,
41104
- "attributes" : [ ],
41105
- "annotations" : [ ]
41106
- } ],
41107
- "attributes" : [ ],
41108
- "interfaces" : [ ]
41109
- }, {
41110
- "name" : "pfs_inventory_check_response_item",
41111
- "plural" : "pfs_inventory_check_response_items",
41112
- "fields" : [ {
41113
- "name" : "number",
41114
- "type" : "string",
41115
- "required" : true,
41116
- "attributes" : [ ],
41117
- "annotations" : [ ],
41118
- "description" : "Client's unique identifier for this object"
41119
- }, {
41120
- "name" : "ats",
41121
- "type" : "long",
41122
- "required" : true,
41123
- "attributes" : [ ],
41124
- "annotations" : [ ]
41125
- }, {
41126
- "name" : "in_stock",
41127
- "type" : "boolean",
41128
- "required" : true,
41129
- "attributes" : [ ],
41130
- "annotations" : [ ]
41131
- } ],
41132
- "attributes" : [ ],
41133
- "interfaces" : [ ]
41134
- }, {
41135
- "name" : "pfs_inventory_status",
41136
- "plural" : "pfs_inventory_statuses",
41137
- "fields" : [ {
41138
- "name" : "status",
41139
- "type" : "string",
41140
- "required" : true,
41141
- "attributes" : [ ],
41142
- "annotations" : [ ]
41143
- } ],
41144
- "attributes" : [ ],
41145
- "interfaces" : [ ]
41146
40512
  }, {
41147
40513
  "name" : "physical_delivery",
41148
40514
  "plural" : "physical_deliveries",
@@ -45651,129 +45017,6 @@
45651
45017
  } ],
45652
45018
  "attributes" : [ ],
45653
45019
  "interfaces" : [ ]
45654
- }, {
45655
- "name" : "reservation",
45656
- "plural" : "reservations",
45657
- "fields" : [ {
45658
- "name" : "id",
45659
- "type" : "string",
45660
- "required" : true,
45661
- "attributes" : [ ],
45662
- "annotations" : [ ],
45663
- "description" : "Globally unique identifier"
45664
- }, {
45665
- "name" : "key",
45666
- "type" : "string",
45667
- "required" : true,
45668
- "attributes" : [ ],
45669
- "annotations" : [ ]
45670
- }, {
45671
- "name" : "order",
45672
- "type" : "reservation_order_reference",
45673
- "required" : false,
45674
- "attributes" : [ ],
45675
- "annotations" : [ ]
45676
- }, {
45677
- "name" : "items",
45678
- "type" : "[reservation_item]",
45679
- "required" : true,
45680
- "attributes" : [ ],
45681
- "annotations" : [ ]
45682
- }, {
45683
- "name" : "reserved_until",
45684
- "type" : "date-time-iso8601",
45685
- "required" : false,
45686
- "attributes" : [ ],
45687
- "annotations" : [ ],
45688
- "description" : "Records the length of this reservation. When omitted, inventory is to be treated as first-come, first-served."
45689
- } ],
45690
- "attributes" : [ ],
45691
- "interfaces" : [ ],
45692
- "description" : "Inventory reservation for a set of items in organization that potentially expires at specified date/time"
45693
- }, {
45694
- "name" : "reservation_form",
45695
- "plural" : "reservation_forms",
45696
- "fields" : [ {
45697
- "name" : "order_number",
45698
- "type" : "string",
45699
- "required" : false,
45700
- "attributes" : [ ],
45701
- "annotations" : [ ]
45702
- }, {
45703
- "name" : "items",
45704
- "type" : "[reservation_item_form]",
45705
- "required" : true,
45706
- "attributes" : [ ],
45707
- "annotations" : [ ]
45708
- } ],
45709
- "attributes" : [ ],
45710
- "interfaces" : [ ]
45711
- }, {
45712
- "name" : "reservation_item",
45713
- "plural" : "reservation_items",
45714
- "fields" : [ {
45715
- "name" : "item",
45716
- "type" : "reservation_item_reference",
45717
- "required" : true,
45718
- "attributes" : [ ],
45719
- "annotations" : [ ]
45720
- }, {
45721
- "name" : "quantity",
45722
- "type" : "long",
45723
- "required" : true,
45724
- "attributes" : [ ],
45725
- "annotations" : [ ],
45726
- "description" : "Number of reserved items.",
45727
- "minimum" : 1
45728
- } ],
45729
- "attributes" : [ ],
45730
- "interfaces" : [ ]
45731
- }, {
45732
- "name" : "reservation_item_form",
45733
- "plural" : "reservation_item_forms",
45734
- "fields" : [ {
45735
- "name" : "item_number",
45736
- "type" : "string",
45737
- "required" : true,
45738
- "attributes" : [ ],
45739
- "annotations" : [ ]
45740
- }, {
45741
- "name" : "quantity",
45742
- "type" : "long",
45743
- "required" : true,
45744
- "attributes" : [ ],
45745
- "annotations" : [ ],
45746
- "description" : "Number of items to reserve.",
45747
- "minimum" : 1
45748
- } ],
45749
- "attributes" : [ ],
45750
- "interfaces" : [ ]
45751
- }, {
45752
- "name" : "reservation_item_reference",
45753
- "plural" : "reservation_item_references",
45754
- "fields" : [ {
45755
- "name" : "number",
45756
- "type" : "string",
45757
- "required" : true,
45758
- "attributes" : [ ],
45759
- "annotations" : [ ],
45760
- "description" : "Client's unique identifier for this object"
45761
- } ],
45762
- "attributes" : [ ],
45763
- "interfaces" : [ ]
45764
- }, {
45765
- "name" : "reservation_order_reference",
45766
- "plural" : "reservation_order_references",
45767
- "fields" : [ {
45768
- "name" : "number",
45769
- "type" : "string",
45770
- "required" : true,
45771
- "attributes" : [ ],
45772
- "annotations" : [ ],
45773
- "description" : "Client's unique identifier for this object"
45774
- } ],
45775
- "attributes" : [ ],
45776
- "interfaces" : [ ]
45777
45020
  }, {
45778
45021
  "name" : "return",
45779
45022
  "plural" : "returns",
@@ -46858,7 +46101,7 @@
46858
46101
  "annotations" : [ ]
46859
46102
  }, {
46860
46103
  "name" : "rule",
46861
- "type" : "inventory_rule",
46104
+ "type" : "io.flow.inventory.v0.models.inventory_rule",
46862
46105
  "required" : true,
46863
46106
  "attributes" : [ ],
46864
46107
  "annotations" : [ ]
@@ -52664,6 +51907,41 @@
52664
51907
  "attributes" : [ ],
52665
51908
  "annotations" : [ ],
52666
51909
  "description" : "The 3ds version used for the authentication"
51910
+ }, {
51911
+ "name" : "authenticated",
51912
+ "type" : "boolean",
51913
+ "required" : false,
51914
+ "attributes" : [ ],
51915
+ "annotations" : [ ],
51916
+ "description" : "Indicates whether 3ds was authenticated"
51917
+ }, {
51918
+ "name" : "authenticated_result",
51919
+ "type" : "string",
51920
+ "required" : false,
51921
+ "attributes" : [ ],
51922
+ "annotations" : [ ],
51923
+ "description" : "The 3ds authenticated result received from psp"
51924
+ }, {
51925
+ "name" : "offered",
51926
+ "type" : "boolean",
51927
+ "required" : false,
51928
+ "attributes" : [ ],
51929
+ "annotations" : [ ],
51930
+ "description" : "Indicates whether 3ds was offered"
51931
+ }, {
51932
+ "name" : "offered_result",
51933
+ "type" : "string",
51934
+ "required" : false,
51935
+ "attributes" : [ ],
51936
+ "annotations" : [ ],
51937
+ "description" : "The 3ds offered response received from psp"
51938
+ }, {
51939
+ "name" : "sca_exemption",
51940
+ "type" : "string",
51941
+ "required" : false,
51942
+ "attributes" : [ ],
51943
+ "annotations" : [ ],
51944
+ "description" : "SCA exemption indicator"
52667
51945
  } ],
52668
51946
  "attributes" : [ ],
52669
51947
  "interfaces" : [ ],
@@ -63079,7 +62357,7 @@
63079
62357
  "value" : 200
63080
62358
  }
63081
62359
  },
63082
- "type" : "reservation",
62360
+ "type" : "io.flow.inventory.v0.models.reservation",
63083
62361
  "description" : "Successful response",
63084
62362
  "attributes" : [ ]
63085
62363
  }, {
@@ -63088,7 +62366,7 @@
63088
62366
  "value" : 201
63089
62367
  }
63090
62368
  },
63091
- "type" : "reservation",
62369
+ "type" : "io.flow.inventory.v0.models.reservation",
63092
62370
  "description" : "Operation succeeded and the resource was created",
63093
62371
  "attributes" : [ ]
63094
62372
  }, {
@@ -63115,7 +62393,7 @@
63115
62393
  "value" : 422
63116
62394
  }
63117
62395
  },
63118
- "type" : "reservation_error",
62396
+ "type" : "io.flow.inventory.v0.unions.reservation_error",
63119
62397
  "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
63120
62398
  "attributes" : [ ]
63121
62399
  } ],
@@ -73336,719 +72614,6 @@
73336
72614
  }
73337
72615
  } ],
73338
72616
  "path" : "/:organization/dimension-estimates"
73339
- }, {
73340
- "type" : "inventory_rule",
73341
- "plural" : "inventory_rules",
73342
- "operations" : [ {
73343
- "method" : "GET",
73344
- "path" : "/:organization/inventory_rules",
73345
- "parameters" : [ {
73346
- "name" : "organization",
73347
- "type" : "string",
73348
- "location" : "Path",
73349
- "required" : true,
73350
- "description" : "Refers to your organization's account identifier"
73351
- }, {
73352
- "name" : "id",
73353
- "type" : "[string]",
73354
- "location" : "Query",
73355
- "required" : false,
73356
- "description" : "Filter by one or more IDs of this resource",
73357
- "maximum" : 100
73358
- }, {
73359
- "name" : "limit",
73360
- "type" : "long",
73361
- "location" : "Query",
73362
- "required" : true,
73363
- "description" : "The maximum number of results to return",
73364
- "default" : "25",
73365
- "minimum" : 1,
73366
- "maximum" : 100
73367
- }, {
73368
- "name" : "offset",
73369
- "type" : "long",
73370
- "location" : "Query",
73371
- "required" : true,
73372
- "description" : "The number of results to skip before returning results",
73373
- "default" : "0",
73374
- "minimum" : 0
73375
- }, {
73376
- "name" : "sort",
73377
- "type" : "string",
73378
- "location" : "Query",
73379
- "required" : true,
73380
- "default" : "-created_at"
73381
- } ],
73382
- "responses" : [ {
73383
- "code" : {
73384
- "integer" : {
73385
- "value" : 200
73386
- }
73387
- },
73388
- "type" : "[inventory_rule]",
73389
- "description" : "Successful response",
73390
- "attributes" : [ ]
73391
- }, {
73392
- "code" : {
73393
- "integer" : {
73394
- "value" : 401
73395
- }
73396
- },
73397
- "type" : "unit",
73398
- "description" : "Authorization failed",
73399
- "attributes" : [ ]
73400
- }, {
73401
- "code" : {
73402
- "integer" : {
73403
- "value" : 404
73404
- }
73405
- },
73406
- "type" : "unit",
73407
- "description" : "Resource was not found",
73408
- "attributes" : [ ]
73409
- } ],
73410
- "attributes" : [ {
73411
- "name" : "sort",
73412
- "value" : {
73413
- "values" : [ {
73414
- "value" : "id"
73415
- } ]
73416
- }
73417
- } ]
73418
- }, {
73419
- "method" : "POST",
73420
- "path" : "/:organization/inventory_rules",
73421
- "parameters" : [ {
73422
- "name" : "organization",
73423
- "type" : "string",
73424
- "location" : "Path",
73425
- "required" : true,
73426
- "description" : "Refers to your organization's account identifier"
73427
- } ],
73428
- "responses" : [ {
73429
- "code" : {
73430
- "integer" : {
73431
- "value" : 201
73432
- }
73433
- },
73434
- "type" : "inventory_rule",
73435
- "description" : "Operation succeeded and the resource was created",
73436
- "attributes" : [ ]
73437
- }, {
73438
- "code" : {
73439
- "integer" : {
73440
- "value" : 401
73441
- }
73442
- },
73443
- "type" : "unit",
73444
- "description" : "Authorization failed",
73445
- "attributes" : [ ]
73446
- }, {
73447
- "code" : {
73448
- "integer" : {
73449
- "value" : 422
73450
- }
73451
- },
73452
- "type" : "generic_error",
73453
- "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
73454
- "attributes" : [ ]
73455
- } ],
73456
- "attributes" : [ ],
73457
- "body" : {
73458
- "type" : "inventory_rule_form",
73459
- "attributes" : [ ]
73460
- }
73461
- }, {
73462
- "method" : "GET",
73463
- "path" : "/:organization/inventory_rules/versions",
73464
- "parameters" : [ {
73465
- "name" : "organization",
73466
- "type" : "string",
73467
- "location" : "Path",
73468
- "required" : true,
73469
- "description" : "Refers to your organization's account identifier"
73470
- }, {
73471
- "name" : "id",
73472
- "type" : "[string]",
73473
- "location" : "Query",
73474
- "required" : false,
73475
- "description" : "Filter by one or more IDs of this resource",
73476
- "maximum" : 100
73477
- }, {
73478
- "name" : "limit",
73479
- "type" : "long",
73480
- "location" : "Query",
73481
- "required" : true,
73482
- "description" : "The maximum number of results to return",
73483
- "default" : "25",
73484
- "minimum" : 1,
73485
- "maximum" : 100
73486
- }, {
73487
- "name" : "offset",
73488
- "type" : "long",
73489
- "location" : "Query",
73490
- "required" : true,
73491
- "description" : "The number of results to skip before returning results",
73492
- "default" : "0",
73493
- "minimum" : 0
73494
- }, {
73495
- "name" : "sort",
73496
- "type" : "string",
73497
- "location" : "Query",
73498
- "required" : true,
73499
- "default" : "journal_timestamp"
73500
- } ],
73501
- "responses" : [ {
73502
- "code" : {
73503
- "integer" : {
73504
- "value" : 200
73505
- }
73506
- },
73507
- "type" : "[inventory_rule_version]",
73508
- "description" : "Successful response",
73509
- "attributes" : [ ]
73510
- }, {
73511
- "code" : {
73512
- "integer" : {
73513
- "value" : 401
73514
- }
73515
- },
73516
- "type" : "unit",
73517
- "description" : "Authorization failed",
73518
- "attributes" : [ ]
73519
- } ],
73520
- "attributes" : [ {
73521
- "name" : "sort",
73522
- "value" : {
73523
- "values" : [ {
73524
- "value" : "id"
73525
- }, {
73526
- "value" : "journal_timestamp"
73527
- } ]
73528
- }
73529
- } ]
73530
- } ],
73531
- "attributes" : [ {
73532
- "name" : "docs",
73533
- "value" : {
73534
- "module" : "logistics"
73535
- }
73536
- } ],
73537
- "path" : "/:organization/inventory_rules",
73538
- "description" : "Ordered list of rules to apply, from first to last, to get available quantity. This is unique per organization"
73539
- }, {
73540
- "type" : "inventory_snapshot",
73541
- "plural" : "inventory_snapshots",
73542
- "operations" : [ {
73543
- "method" : "GET",
73544
- "path" : "/:organization/inventory_snapshots",
73545
- "parameters" : [ {
73546
- "name" : "organization",
73547
- "type" : "string",
73548
- "location" : "Path",
73549
- "required" : true,
73550
- "description" : "Refers to your organization's account identifier"
73551
- }, {
73552
- "name" : "id",
73553
- "type" : "[string]",
73554
- "location" : "Query",
73555
- "required" : false,
73556
- "description" : "Filter by one or more IDs of this resource",
73557
- "maximum" : 100
73558
- }, {
73559
- "name" : "center",
73560
- "type" : "[string]",
73561
- "location" : "Query",
73562
- "required" : false,
73563
- "maximum" : 100
73564
- }, {
73565
- "name" : "item_number",
73566
- "type" : "[string]",
73567
- "location" : "Query",
73568
- "required" : false,
73569
- "maximum" : 100
73570
- }, {
73571
- "name" : "limit",
73572
- "type" : "long",
73573
- "location" : "Query",
73574
- "required" : true,
73575
- "description" : "The maximum number of results to return",
73576
- "default" : "25",
73577
- "minimum" : 1,
73578
- "maximum" : 100
73579
- }, {
73580
- "name" : "offset",
73581
- "type" : "long",
73582
- "location" : "Query",
73583
- "required" : true,
73584
- "description" : "The number of results to skip before returning results",
73585
- "default" : "0",
73586
- "minimum" : 0
73587
- }, {
73588
- "name" : "sort",
73589
- "type" : "string",
73590
- "location" : "Query",
73591
- "required" : true,
73592
- "default" : "-created_at"
73593
- } ],
73594
- "responses" : [ {
73595
- "code" : {
73596
- "integer" : {
73597
- "value" : 200
73598
- }
73599
- },
73600
- "type" : "[inventory_snapshot]",
73601
- "description" : "Successful response",
73602
- "attributes" : [ ]
73603
- }, {
73604
- "code" : {
73605
- "integer" : {
73606
- "value" : 401
73607
- }
73608
- },
73609
- "type" : "unit",
73610
- "description" : "Authorization failed",
73611
- "attributes" : [ ]
73612
- }, {
73613
- "code" : {
73614
- "integer" : {
73615
- "value" : 404
73616
- }
73617
- },
73618
- "type" : "unit",
73619
- "description" : "Resource was not found",
73620
- "attributes" : [ ]
73621
- }, {
73622
- "code" : {
73623
- "integer" : {
73624
- "value" : 422
73625
- }
73626
- },
73627
- "type" : "generic_error",
73628
- "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
73629
- "attributes" : [ ]
73630
- } ],
73631
- "attributes" : [ {
73632
- "name" : "sort",
73633
- "value" : {
73634
- "values" : [ {
73635
- "value" : "id"
73636
- }, {
73637
- "value" : "center"
73638
- }, {
73639
- "value" : "item_number"
73640
- } ]
73641
- }
73642
- } ]
73643
- }, {
73644
- "method" : "GET",
73645
- "path" : "/:organization/inventory_snapshots/versions",
73646
- "parameters" : [ {
73647
- "name" : "organization",
73648
- "type" : "string",
73649
- "location" : "Path",
73650
- "required" : true,
73651
- "description" : "Refers to your organization's account identifier"
73652
- }, {
73653
- "name" : "id",
73654
- "type" : "[string]",
73655
- "location" : "Query",
73656
- "required" : false,
73657
- "description" : "Filter by one or more IDs of this resource",
73658
- "maximum" : 100
73659
- }, {
73660
- "name" : "inventory_snapshot",
73661
- "type" : "[string]",
73662
- "location" : "Query",
73663
- "required" : false,
73664
- "maximum" : 100
73665
- }, {
73666
- "name" : "limit",
73667
- "type" : "long",
73668
- "location" : "Query",
73669
- "required" : true,
73670
- "description" : "The maximum number of results to return",
73671
- "default" : "25",
73672
- "minimum" : 1,
73673
- "maximum" : 100
73674
- }, {
73675
- "name" : "offset",
73676
- "type" : "long",
73677
- "location" : "Query",
73678
- "required" : true,
73679
- "description" : "The number of results to skip before returning results",
73680
- "default" : "0",
73681
- "minimum" : 0
73682
- }, {
73683
- "name" : "sort",
73684
- "type" : "string",
73685
- "location" : "Query",
73686
- "required" : true,
73687
- "default" : "journal_timestamp"
73688
- } ],
73689
- "responses" : [ {
73690
- "code" : {
73691
- "integer" : {
73692
- "value" : 200
73693
- }
73694
- },
73695
- "type" : "[inventory_snapshot_version]",
73696
- "description" : "Successful response",
73697
- "attributes" : [ ]
73698
- }, {
73699
- "code" : {
73700
- "integer" : {
73701
- "value" : 401
73702
- }
73703
- },
73704
- "type" : "unit",
73705
- "description" : "Authorization failed",
73706
- "attributes" : [ ]
73707
- } ],
73708
- "attributes" : [ {
73709
- "name" : "sort",
73710
- "value" : {
73711
- "values" : [ {
73712
- "value" : "id"
73713
- }, {
73714
- "value" : "inventory_snapshot"
73715
- }, {
73716
- "value" : "journal_timestamp"
73717
- } ]
73718
- }
73719
- } ]
73720
- }, {
73721
- "method" : "GET",
73722
- "path" : "/:organization/inventory_snapshots/:id",
73723
- "parameters" : [ {
73724
- "name" : "organization",
73725
- "type" : "string",
73726
- "location" : "Path",
73727
- "required" : true,
73728
- "description" : "Refers to your organization's account identifier"
73729
- }, {
73730
- "name" : "id",
73731
- "type" : "string",
73732
- "location" : "Path",
73733
- "required" : true,
73734
- "description" : "Filter by one or more IDs of this resource"
73735
- } ],
73736
- "responses" : [ {
73737
- "code" : {
73738
- "integer" : {
73739
- "value" : 200
73740
- }
73741
- },
73742
- "type" : "inventory_snapshot",
73743
- "description" : "Successful response",
73744
- "attributes" : [ ]
73745
- }, {
73746
- "code" : {
73747
- "integer" : {
73748
- "value" : 401
73749
- }
73750
- },
73751
- "type" : "unit",
73752
- "description" : "Authorization failed",
73753
- "attributes" : [ ]
73754
- }, {
73755
- "code" : {
73756
- "integer" : {
73757
- "value" : 404
73758
- }
73759
- },
73760
- "type" : "unit",
73761
- "description" : "Resource was not found",
73762
- "attributes" : [ ]
73763
- } ],
73764
- "attributes" : [ ]
73765
- } ],
73766
- "attributes" : [ {
73767
- "name" : "docs",
73768
- "value" : {
73769
- "module" : "logistics"
73770
- }
73771
- } ],
73772
- "path" : "/:organization/inventory_snapshots",
73773
- "description" : "Inventory snapshot reflects the current quantity and available number of units for a given center / item"
73774
- }, {
73775
- "type" : "inventory_update",
73776
- "plural" : "inventory_updates",
73777
- "operations" : [ {
73778
- "method" : "GET",
73779
- "path" : "/:organization/inventory_updates",
73780
- "parameters" : [ {
73781
- "name" : "organization",
73782
- "type" : "string",
73783
- "location" : "Path",
73784
- "required" : true,
73785
- "description" : "Refers to your organization's account identifier"
73786
- }, {
73787
- "name" : "id",
73788
- "type" : "[string]",
73789
- "location" : "Query",
73790
- "required" : false,
73791
- "description" : "Filter by one or more IDs of this resource",
73792
- "maximum" : 100
73793
- }, {
73794
- "name" : "center",
73795
- "type" : "[string]",
73796
- "location" : "Query",
73797
- "required" : false,
73798
- "maximum" : 100
73799
- }, {
73800
- "name" : "item_number",
73801
- "type" : "[string]",
73802
- "location" : "Query",
73803
- "required" : false,
73804
- "maximum" : 100
73805
- }, {
73806
- "name" : "limit",
73807
- "type" : "long",
73808
- "location" : "Query",
73809
- "required" : true,
73810
- "description" : "The maximum number of results to return",
73811
- "default" : "25",
73812
- "minimum" : 1,
73813
- "maximum" : 100
73814
- }, {
73815
- "name" : "offset",
73816
- "type" : "long",
73817
- "location" : "Query",
73818
- "required" : true,
73819
- "description" : "The number of results to skip before returning results",
73820
- "default" : "0",
73821
- "minimum" : 0
73822
- }, {
73823
- "name" : "sort",
73824
- "type" : "string",
73825
- "location" : "Query",
73826
- "required" : true,
73827
- "default" : "-created_at"
73828
- } ],
73829
- "responses" : [ {
73830
- "code" : {
73831
- "integer" : {
73832
- "value" : 200
73833
- }
73834
- },
73835
- "type" : "[inventory_update]",
73836
- "description" : "Successful response",
73837
- "attributes" : [ ]
73838
- }, {
73839
- "code" : {
73840
- "integer" : {
73841
- "value" : 401
73842
- }
73843
- },
73844
- "type" : "unit",
73845
- "description" : "Authorization failed",
73846
- "attributes" : [ ]
73847
- }, {
73848
- "code" : {
73849
- "integer" : {
73850
- "value" : 404
73851
- }
73852
- },
73853
- "type" : "unit",
73854
- "description" : "Resource was not found",
73855
- "attributes" : [ ]
73856
- }, {
73857
- "code" : {
73858
- "integer" : {
73859
- "value" : 422
73860
- }
73861
- },
73862
- "type" : "generic_error",
73863
- "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
73864
- "attributes" : [ ]
73865
- } ],
73866
- "attributes" : [ {
73867
- "name" : "sort",
73868
- "value" : {
73869
- "values" : [ {
73870
- "value" : "id"
73871
- }, {
73872
- "value" : "center"
73873
- }, {
73874
- "value" : "item_number"
73875
- } ]
73876
- }
73877
- } ]
73878
- }, {
73879
- "method" : "POST",
73880
- "path" : "/:organization/inventory_updates",
73881
- "parameters" : [ {
73882
- "name" : "organization",
73883
- "type" : "string",
73884
- "location" : "Path",
73885
- "required" : true,
73886
- "description" : "Refers to your organization's account identifier"
73887
- } ],
73888
- "responses" : [ {
73889
- "code" : {
73890
- "integer" : {
73891
- "value" : 201
73892
- }
73893
- },
73894
- "type" : "inventory_update",
73895
- "description" : "Operation succeeded and the resource was created",
73896
- "attributes" : [ ]
73897
- }, {
73898
- "code" : {
73899
- "integer" : {
73900
- "value" : 401
73901
- }
73902
- },
73903
- "type" : "unit",
73904
- "description" : "Authorization failed",
73905
- "attributes" : [ ]
73906
- }, {
73907
- "code" : {
73908
- "integer" : {
73909
- "value" : 422
73910
- }
73911
- },
73912
- "type" : "generic_error",
73913
- "description" : "One or more errors were found with the data sent in the request. The body of the response contains specific details on what data failed validation.",
73914
- "attributes" : [ ]
73915
- } ],
73916
- "attributes" : [ ],
73917
- "body" : {
73918
- "type" : "inventory_update_form",
73919
- "attributes" : [ ]
73920
- }
73921
- }, {
73922
- "method" : "GET",
73923
- "path" : "/:organization/inventory_updates/versions",
73924
- "parameters" : [ {
73925
- "name" : "organization",
73926
- "type" : "string",
73927
- "location" : "Path",
73928
- "required" : true,
73929
- "description" : "Refers to your organization's account identifier"
73930
- }, {
73931
- "name" : "id",
73932
- "type" : "[string]",
73933
- "location" : "Query",
73934
- "required" : false,
73935
- "description" : "Filter by one or more IDs of this resource",
73936
- "maximum" : 100
73937
- }, {
73938
- "name" : "inventory_update",
73939
- "type" : "[string]",
73940
- "location" : "Query",
73941
- "required" : false,
73942
- "maximum" : 100
73943
- }, {
73944
- "name" : "limit",
73945
- "type" : "long",
73946
- "location" : "Query",
73947
- "required" : true,
73948
- "description" : "The maximum number of results to return",
73949
- "default" : "25",
73950
- "minimum" : 1,
73951
- "maximum" : 100
73952
- }, {
73953
- "name" : "offset",
73954
- "type" : "long",
73955
- "location" : "Query",
73956
- "required" : true,
73957
- "description" : "The number of results to skip before returning results",
73958
- "default" : "0",
73959
- "minimum" : 0
73960
- }, {
73961
- "name" : "sort",
73962
- "type" : "string",
73963
- "location" : "Query",
73964
- "required" : true,
73965
- "default" : "journal_timestamp"
73966
- } ],
73967
- "responses" : [ {
73968
- "code" : {
73969
- "integer" : {
73970
- "value" : 200
73971
- }
73972
- },
73973
- "type" : "[inventory_update_version]",
73974
- "description" : "Successful response",
73975
- "attributes" : [ ]
73976
- }, {
73977
- "code" : {
73978
- "integer" : {
73979
- "value" : 401
73980
- }
73981
- },
73982
- "type" : "unit",
73983
- "description" : "Authorization failed",
73984
- "attributes" : [ ]
73985
- } ],
73986
- "attributes" : [ {
73987
- "name" : "sort",
73988
- "value" : {
73989
- "values" : [ {
73990
- "value" : "id"
73991
- }, {
73992
- "value" : "inventory_update"
73993
- }, {
73994
- "value" : "journal_timestamp"
73995
- } ]
73996
- }
73997
- } ]
73998
- }, {
73999
- "method" : "GET",
74000
- "path" : "/:organization/inventory_updates/:id",
74001
- "parameters" : [ {
74002
- "name" : "organization",
74003
- "type" : "string",
74004
- "location" : "Path",
74005
- "required" : true,
74006
- "description" : "Refers to your organization's account identifier"
74007
- }, {
74008
- "name" : "id",
74009
- "type" : "string",
74010
- "location" : "Path",
74011
- "required" : true,
74012
- "description" : "Filter by one or more IDs of this resource"
74013
- } ],
74014
- "responses" : [ {
74015
- "code" : {
74016
- "integer" : {
74017
- "value" : 200
74018
- }
74019
- },
74020
- "type" : "inventory_update",
74021
- "description" : "Successful response",
74022
- "attributes" : [ ]
74023
- }, {
74024
- "code" : {
74025
- "integer" : {
74026
- "value" : 401
74027
- }
74028
- },
74029
- "type" : "unit",
74030
- "description" : "Authorization failed",
74031
- "attributes" : [ ]
74032
- }, {
74033
- "code" : {
74034
- "integer" : {
74035
- "value" : 404
74036
- }
74037
- },
74038
- "type" : "unit",
74039
- "description" : "Resource was not found",
74040
- "attributes" : [ ]
74041
- } ],
74042
- "attributes" : [ ]
74043
- } ],
74044
- "attributes" : [ {
74045
- "name" : "docs",
74046
- "value" : {
74047
- "module" : "logistics"
74048
- }
74049
- } ],
74050
- "path" : "/:organization/inventory_updates",
74051
- "description" : "Represents a single update on inventory quantity"
74052
72617
  }, {
74053
72618
  "type" : "manifest",
74054
72619
  "plural" : "manifests",