@zippendo/sdk 1.0.2 → 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.
- package/README.md +56 -0
- package/dist/apis/AddressesApi.d.ts +1 -1
- package/dist/apis/AddressesApi.js +1 -1
- package/dist/apis/BillingApi.d.ts +1 -1
- package/dist/apis/BillingApi.js +1 -1
- package/dist/apis/BrandsApi.d.ts +204 -0
- package/dist/apis/BrandsApi.js +584 -0
- package/dist/apis/CarrierCatalogApi.d.ts +1 -1
- package/dist/apis/CarrierCatalogApi.js +1 -1
- package/dist/apis/CarriersApi.d.ts +1 -1
- package/dist/apis/CarriersApi.js +1 -1
- package/dist/apis/OrdersApi.d.ts +2 -1
- package/dist/apis/OrdersApi.js +4 -1
- package/dist/apis/OrgsApi.d.ts +1 -1
- package/dist/apis/OrgsApi.js +1 -1
- package/dist/apis/QuotesApi.d.ts +1 -1
- package/dist/apis/QuotesApi.js +1 -1
- package/dist/apis/RulesApi.d.ts +1 -1
- package/dist/apis/RulesApi.js +1 -1
- package/dist/apis/ShipmentsApi.d.ts +2 -1
- package/dist/apis/ShipmentsApi.js +4 -1
- package/dist/apis/SystemApi.d.ts +1 -1
- package/dist/apis/SystemApi.js +1 -1
- package/dist/apis/TokensApi.d.ts +1 -1
- package/dist/apis/TokensApi.js +1 -1
- package/dist/apis/WebhooksApi.d.ts +1 -1
- package/dist/apis/WebhooksApi.js +1 -1
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AddressesApi.d.ts +1 -1
- package/dist/esm/apis/AddressesApi.js +1 -1
- package/dist/esm/apis/BillingApi.d.ts +1 -1
- package/dist/esm/apis/BillingApi.js +1 -1
- package/dist/esm/apis/BrandsApi.d.ts +204 -0
- package/dist/esm/apis/BrandsApi.js +580 -0
- package/dist/esm/apis/CarrierCatalogApi.d.ts +1 -1
- package/dist/esm/apis/CarrierCatalogApi.js +1 -1
- package/dist/esm/apis/CarriersApi.d.ts +1 -1
- package/dist/esm/apis/CarriersApi.js +1 -1
- package/dist/esm/apis/OrdersApi.d.ts +2 -1
- package/dist/esm/apis/OrdersApi.js +4 -1
- package/dist/esm/apis/OrgsApi.d.ts +1 -1
- package/dist/esm/apis/OrgsApi.js +1 -1
- package/dist/esm/apis/QuotesApi.d.ts +1 -1
- package/dist/esm/apis/QuotesApi.js +1 -1
- package/dist/esm/apis/RulesApi.d.ts +1 -1
- package/dist/esm/apis/RulesApi.js +1 -1
- package/dist/esm/apis/ShipmentsApi.d.ts +2 -1
- package/dist/esm/apis/ShipmentsApi.js +4 -1
- package/dist/esm/apis/SystemApi.d.ts +1 -1
- package/dist/esm/apis/SystemApi.js +1 -1
- package/dist/esm/apis/TokensApi.d.ts +1 -1
- package/dist/esm/apis/TokensApi.js +1 -1
- package/dist/esm/apis/WebhooksApi.d.ts +1 -1
- package/dist/esm/apis/WebhooksApi.js +1 -1
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/BatchSendShipments200Response.d.ts +1 -1
- package/dist/esm/models/BatchSendShipments200Response.js +1 -1
- package/dist/esm/models/BatchSendShipments200ResponseResultsInner.d.ts +7 -1
- package/dist/esm/models/BatchSendShipments200ResponseResultsInner.js +7 -1
- package/dist/esm/models/BatchSendShipments200ResponseSummary.d.ts +1 -1
- package/dist/esm/models/BatchSendShipments200ResponseSummary.js +1 -1
- package/dist/esm/models/BatchSendShipmentsRequest.d.ts +1 -1
- package/dist/esm/models/BatchSendShipmentsRequest.js +1 -1
- package/dist/esm/models/BatchSplitShipment201Response.d.ts +1 -1
- package/dist/esm/models/BatchSplitShipment201Response.js +1 -1
- package/dist/esm/models/BatchSplitShipmentRequest.d.ts +1 -1
- package/dist/esm/models/BatchSplitShipmentRequest.js +1 -1
- package/dist/esm/models/BatchSplitShipmentRequestShipmentsInner.d.ts +1 -1
- package/dist/esm/models/BatchSplitShipmentRequestShipmentsInner.js +1 -1
- package/dist/esm/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.d.ts +1 -1
- package/dist/esm/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.js +1 -1
- package/dist/esm/models/CheckBrandSlug200Response.d.ts +38 -0
- package/dist/esm/models/CheckBrandSlug200Response.js +47 -0
- package/dist/esm/models/ConnectCarrierRequest.d.ts +1 -1
- package/dist/esm/models/ConnectCarrierRequest.js +1 -1
- package/dist/esm/models/CreateAddressRequest.d.ts +1 -1
- package/dist/esm/models/CreateAddressRequest.js +1 -1
- package/dist/esm/models/CreateApiToken201Response.d.ts +7 -1
- package/dist/esm/models/CreateApiToken201Response.js +5 -1
- package/dist/esm/models/CreateApiTokenRequest.d.ts +7 -1
- package/dist/esm/models/CreateApiTokenRequest.js +3 -1
- package/dist/esm/models/CreateOrder201Response.d.ts +1 -1
- package/dist/esm/models/CreateOrder201Response.js +1 -1
- package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.d.ts +1 -1
- package/dist/esm/models/CreateOrder201ResponseOrderLinesInner.js +1 -1
- package/dist/esm/models/CreateOrder201ResponseShippingAddress.d.ts +1 -1
- package/dist/esm/models/CreateOrder201ResponseShippingAddress.js +1 -1
- package/dist/esm/models/CreateOrderRequest.d.ts +1 -1
- package/dist/esm/models/CreateOrderRequest.js +1 -1
- package/dist/esm/models/CreateOrderRequestOrderLinesInner.d.ts +1 -1
- package/dist/esm/models/CreateOrderRequestOrderLinesInner.js +1 -1
- package/dist/esm/models/CreateOrderRequestShippingAddress.d.ts +1 -1
- package/dist/esm/models/CreateOrderRequestShippingAddress.js +1 -1
- package/dist/esm/models/CreateOrgBrandRequest.d.ts +106 -0
- package/dist/esm/models/CreateOrgBrandRequest.js +67 -0
- package/dist/esm/models/CreateOrgWebhook201Response.d.ts +1 -1
- package/dist/esm/models/CreateOrgWebhook201Response.js +1 -1
- package/dist/esm/models/CreateOrgWebhookRequest.d.ts +1 -1
- package/dist/esm/models/CreateOrgWebhookRequest.js +1 -1
- package/dist/esm/models/CreateShipment201Response.d.ts +1 -1
- package/dist/esm/models/CreateShipment201Response.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseActivitiesInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseActivitiesInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseDocumentsInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseDocumentsInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseErrorsInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseErrorsInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseLogsInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseLogsInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerDimensions.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerDimensions.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponsePartiesInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponsePartiesInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponsePartiesInnerAttributesInner.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponsePartiesInnerAttributesInner.js +1 -1
- package/dist/esm/models/CreateShipment201ResponsePickupDetails.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponsePickupDetails.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseShippingRule.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseShippingRule.js +1 -1
- package/dist/esm/models/CreateShipment201ResponseTracking.d.ts +1 -1
- package/dist/esm/models/CreateShipment201ResponseTracking.js +1 -1
- package/dist/esm/models/CreateShipmentRequest.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequest.js +1 -1
- package/dist/esm/models/CreateShipmentRequestCarrierSettings.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequestCarrierSettings.js +1 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInner.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInner.js +1 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInnerDimensions.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInnerDimensions.js +1 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +1 -1
- package/dist/esm/models/CreateShipmentRequestPartiesInner.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequestPartiesInner.js +1 -1
- package/dist/esm/models/CreateShipmentRequestPartiesInnerAttributesInner.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequestPartiesInnerAttributesInner.js +1 -1
- package/dist/esm/models/CreateShipmentRequestPickupDetails.d.ts +1 -1
- package/dist/esm/models/CreateShipmentRequestPickupDetails.js +1 -1
- package/dist/esm/models/CreateShippingQuote200Response.d.ts +1 -1
- package/dist/esm/models/CreateShippingQuote200Response.js +1 -1
- package/dist/esm/models/CreateShippingQuote200ResponseRatesInner.d.ts +1 -1
- package/dist/esm/models/CreateShippingQuote200ResponseRatesInner.js +1 -1
- package/dist/esm/models/CreateShippingQuote400Response.d.ts +1 -1
- package/dist/esm/models/CreateShippingQuote400Response.js +1 -1
- package/dist/esm/models/CreateShippingQuote404Response.d.ts +1 -1
- package/dist/esm/models/CreateShippingQuote404Response.js +1 -1
- package/dist/esm/models/CreateShippingQuoteRequest.d.ts +1 -1
- package/dist/esm/models/CreateShippingQuoteRequest.js +1 -1
- package/dist/esm/models/CreateShippingQuoteRequestDestination.d.ts +1 -1
- package/dist/esm/models/CreateShippingQuoteRequestDestination.js +1 -1
- package/dist/esm/models/CreateShippingQuoteRequestItemsInner.d.ts +1 -1
- package/dist/esm/models/CreateShippingQuoteRequestItemsInner.js +1 -1
- package/dist/esm/models/CreateShippingRule201Response.d.ts +1 -1
- package/dist/esm/models/CreateShippingRule201Response.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequest.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequest.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParameters.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParameters.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfInner.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfInner.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfValue.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfValue.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOf.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOf.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOfCoordinatesInner.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOfCoordinatesInner.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInner.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInner.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf1.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf1.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf2.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf2.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf3.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf3.js +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf4.d.ts +1 -1
- package/dist/esm/models/CreateShippingRuleRequestConditionsInnerOneOf4.js +1 -1
- package/dist/esm/models/DeleteOrgWebhook200Response.d.ts +1 -1
- package/dist/esm/models/DeleteOrgWebhook200Response.js +1 -1
- package/dist/esm/models/DeleteShippingRule200Response.d.ts +1 -1
- package/dist/esm/models/DeleteShippingRule200Response.js +1 -1
- package/dist/esm/models/GetBillingUsage200Response.d.ts +1 -1
- package/dist/esm/models/GetBillingUsage200Response.js +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseAddOnsInner.d.ts +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseAddOnsInner.js +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseCurrentPeriod.d.ts +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseCurrentPeriod.js +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseLimits.d.ts +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseLimits.js +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseLimitsTeamMembers.d.ts +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseLimitsTeamMembers.js +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseShipments.d.ts +1 -1
- package/dist/esm/models/GetBillingUsage200ResponseShipments.js +1 -1
- package/dist/esm/models/GetOrder200Response.d.ts +1 -1
- package/dist/esm/models/GetOrder200Response.js +1 -1
- package/dist/esm/models/GetOrder200ResponseShipmentsInner.d.ts +1 -1
- package/dist/esm/models/GetOrder200ResponseShipmentsInner.js +1 -1
- package/dist/esm/models/GetOrder200ResponseShippingRule.d.ts +1 -1
- package/dist/esm/models/GetOrder200ResponseShippingRule.js +1 -1
- package/dist/esm/models/GetOrg200Response.d.ts +1 -1
- package/dist/esm/models/GetOrg200Response.js +1 -1
- package/dist/esm/models/GetOrg200ResponseCount.d.ts +1 -1
- package/dist/esm/models/GetOrg200ResponseCount.js +1 -1
- package/dist/esm/models/GetOrgBranding200Response.d.ts +1 -1
- package/dist/esm/models/GetOrgBranding200Response.js +1 -1
- package/dist/esm/models/HealthCheck200Response.d.ts +1 -1
- package/dist/esm/models/HealthCheck200Response.js +1 -1
- package/dist/esm/models/ListAddresses200Response.d.ts +1 -1
- package/dist/esm/models/ListAddresses200Response.js +1 -1
- package/dist/esm/models/ListAddresses200ResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListAddresses200ResponseDataInner.js +1 -1
- package/dist/esm/models/ListApiTokens200Response.d.ts +1 -1
- package/dist/esm/models/ListApiTokens200Response.js +1 -1
- package/dist/esm/models/ListApiTokens200ResponseDataInner.d.ts +7 -1
- package/dist/esm/models/ListApiTokens200ResponseDataInner.js +5 -1
- package/dist/esm/models/ListApiTokens200ResponseDataInnerCreatedBy.d.ts +1 -1
- package/dist/esm/models/ListApiTokens200ResponseDataInnerCreatedBy.js +1 -1
- package/dist/esm/models/ListApiTokens401Response.d.ts +7 -1
- package/dist/esm/models/ListApiTokens401Response.js +7 -1
- package/dist/esm/models/ListAvailableCarriers200ResponseInner.d.ts +1 -1
- package/dist/esm/models/ListAvailableCarriers200ResponseInner.js +1 -1
- package/dist/esm/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.d.ts +1 -1
- package/dist/esm/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.js +1 -1
- package/dist/esm/models/ListCarrierProductServicePoints200ResponseInner.d.ts +1 -1
- package/dist/esm/models/ListCarrierProductServicePoints200ResponseInner.js +1 -1
- package/dist/esm/models/ListCarrierProductServicePoints200ResponseInnerAddress.d.ts +1 -1
- package/dist/esm/models/ListCarrierProductServicePoints200ResponseInnerAddress.js +1 -1
- package/dist/esm/models/ListCarrierProductServicePointsRequest.d.ts +1 -1
- package/dist/esm/models/ListCarrierProductServicePointsRequest.js +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInner.d.ts +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInner.js +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.d.ts +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.js +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.d.ts +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.js +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerServicesInner.d.ts +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerServicesInner.js +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerWeightLimits.d.ts +1 -1
- package/dist/esm/models/ListCarrierProducts200ResponseInnerWeightLimits.js +1 -1
- package/dist/esm/models/ListCarriers200Response.d.ts +1 -1
- package/dist/esm/models/ListCarriers200Response.js +1 -1
- package/dist/esm/models/ListCarriers200ResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListCarriers200ResponseDataInner.js +1 -1
- package/dist/esm/models/ListCarriers200ResponseDataInnerConfigValue.d.ts +1 -1
- package/dist/esm/models/ListCarriers200ResponseDataInnerConfigValue.js +1 -1
- package/dist/esm/models/ListOrders200Response.d.ts +1 -1
- package/dist/esm/models/ListOrders200Response.js +1 -1
- package/dist/esm/models/ListOrders200ResponseDataInner.d.ts +7 -1
- package/dist/esm/models/ListOrders200ResponseDataInner.js +5 -1
- package/dist/esm/models/ListOrders200ResponseDataInnerOrderChannel.d.ts +1 -1
- package/dist/esm/models/ListOrders200ResponseDataInnerOrderChannel.js +1 -1
- package/dist/esm/models/ListOrgBrands200Response.d.ts +33 -0
- package/dist/esm/models/ListOrgBrands200Response.js +44 -0
- package/dist/esm/models/ListOrgBrands200ResponseDataInner.d.ts +142 -0
- package/dist/esm/models/ListOrgBrands200ResponseDataInner.js +95 -0
- package/dist/esm/models/ListOrgWebhookDeliveries200Response.d.ts +1 -1
- package/dist/esm/models/ListOrgWebhookDeliveries200Response.js +1 -1
- package/dist/esm/models/ListOrgWebhookDeliveries200ResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListOrgWebhookDeliveries200ResponseDataInner.js +1 -1
- package/dist/esm/models/ListOrgWebhooks200Response.d.ts +1 -1
- package/dist/esm/models/ListOrgWebhooks200Response.js +1 -1
- package/dist/esm/models/ListOrgWebhooks200ResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListOrgWebhooks200ResponseDataInner.js +1 -1
- package/dist/esm/models/ListShipments200Response.d.ts +1 -1
- package/dist/esm/models/ListShipments200Response.js +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInner.d.ts +7 -1
- package/dist/esm/models/ListShipments200ResponseDataInner.js +5 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerAddress.d.ts +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerAddress.js +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettings.d.ts +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettings.js +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValue.d.ts +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValue.js +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValueAnyOf.d.ts +1 -1
- package/dist/esm/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValueAnyOf.js +1 -1
- package/dist/esm/models/ListShippingRules200Response.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200Response.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInner.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInner.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersInner.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerAdditionalParametersInner.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerCarrier.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerCarrier.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInner.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInner.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerLabelPrinter.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerLabelPrinter.js +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerReturnShippingRule.d.ts +1 -1
- package/dist/esm/models/ListShippingRules200ResponseDataInnerReturnShippingRule.js +1 -1
- package/dist/esm/models/RevokeApiToken200Response.d.ts +1 -1
- package/dist/esm/models/RevokeApiToken200Response.js +1 -1
- package/dist/esm/models/SendShipment422Response.d.ts +7 -1
- package/dist/esm/models/SendShipment422Response.js +7 -1
- package/dist/esm/models/SendShipment422ResponseErrorsInner.d.ts +1 -1
- package/dist/esm/models/SendShipment422ResponseErrorsInner.js +1 -1
- package/dist/esm/models/SplitShipment201Response.d.ts +1 -1
- package/dist/esm/models/SplitShipment201Response.js +1 -1
- package/dist/esm/models/SplitShipmentParcel200Response.d.ts +1 -1
- package/dist/esm/models/SplitShipmentParcel200Response.js +1 -1
- package/dist/esm/models/SplitShipmentParcelRequest.d.ts +1 -1
- package/dist/esm/models/SplitShipmentParcelRequest.js +1 -1
- package/dist/esm/models/SplitShipmentParcelRequestParcelsInner.d.ts +1 -1
- package/dist/esm/models/SplitShipmentParcelRequestParcelsInner.js +1 -1
- package/dist/esm/models/SplitShipmentRequest.d.ts +1 -1
- package/dist/esm/models/SplitShipmentRequest.js +1 -1
- package/dist/esm/models/TestOrgWebhook200Response.d.ts +1 -1
- package/dist/esm/models/TestOrgWebhook200Response.js +1 -1
- package/dist/esm/models/TrackShipment200Response.d.ts +1 -1
- package/dist/esm/models/TrackShipment200Response.js +1 -1
- package/dist/esm/models/TrackShipment200ResponseEventsInner.d.ts +1 -1
- package/dist/esm/models/TrackShipment200ResponseEventsInner.js +1 -1
- package/dist/esm/models/UpdateAddressRequest.d.ts +1 -1
- package/dist/esm/models/UpdateAddressRequest.js +1 -1
- package/dist/esm/models/UpdateApiTokenRequest.d.ts +1 -1
- package/dist/esm/models/UpdateApiTokenRequest.js +1 -1
- package/dist/esm/models/UpdateCarrierRequest.d.ts +1 -1
- package/dist/esm/models/UpdateCarrierRequest.js +1 -1
- package/dist/esm/models/UpdateOrderRequest.d.ts +1 -1
- package/dist/esm/models/UpdateOrderRequest.js +1 -1
- package/dist/esm/models/UpdateOrg200Response.d.ts +1 -1
- package/dist/esm/models/UpdateOrg200Response.js +1 -1
- package/dist/esm/models/UpdateOrgBrandRequest.d.ts +106 -0
- package/dist/esm/models/UpdateOrgBrandRequest.js +65 -0
- package/dist/esm/models/UpdateOrgBrandingRequest.d.ts +1 -1
- package/dist/esm/models/UpdateOrgBrandingRequest.js +1 -1
- package/dist/esm/models/UpdateOrgRequest.d.ts +1 -1
- package/dist/esm/models/UpdateOrgRequest.js +1 -1
- package/dist/esm/models/UpdateOrgWebhookRequest.d.ts +1 -1
- package/dist/esm/models/UpdateOrgWebhookRequest.js +1 -1
- package/dist/esm/models/UpdateShipmentRequest.d.ts +1 -1
- package/dist/esm/models/UpdateShipmentRequest.js +1 -1
- package/dist/esm/models/UpdateShippingRuleRequest.d.ts +1 -1
- package/dist/esm/models/UpdateShippingRuleRequest.js +1 -1
- package/dist/esm/models/VerifyApiToken200Response.d.ts +1 -1
- package/dist/esm/models/VerifyApiToken200Response.js +1 -1
- package/dist/esm/models/VerifyApiTokenRequest.d.ts +1 -1
- package/dist/esm/models/VerifyApiTokenRequest.js +1 -1
- package/dist/esm/models/index.d.ts +5 -0
- package/dist/esm/models/index.js +5 -0
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/BatchSendShipments200Response.d.ts +1 -1
- package/dist/models/BatchSendShipments200Response.js +1 -1
- package/dist/models/BatchSendShipments200ResponseResultsInner.d.ts +7 -1
- package/dist/models/BatchSendShipments200ResponseResultsInner.js +7 -1
- package/dist/models/BatchSendShipments200ResponseSummary.d.ts +1 -1
- package/dist/models/BatchSendShipments200ResponseSummary.js +1 -1
- package/dist/models/BatchSendShipmentsRequest.d.ts +1 -1
- package/dist/models/BatchSendShipmentsRequest.js +1 -1
- package/dist/models/BatchSplitShipment201Response.d.ts +1 -1
- package/dist/models/BatchSplitShipment201Response.js +1 -1
- package/dist/models/BatchSplitShipmentRequest.d.ts +1 -1
- package/dist/models/BatchSplitShipmentRequest.js +1 -1
- package/dist/models/BatchSplitShipmentRequestShipmentsInner.d.ts +1 -1
- package/dist/models/BatchSplitShipmentRequestShipmentsInner.js +1 -1
- package/dist/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.d.ts +1 -1
- package/dist/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.js +1 -1
- package/dist/models/CheckBrandSlug200Response.d.ts +38 -0
- package/dist/models/CheckBrandSlug200Response.js +54 -0
- package/dist/models/ConnectCarrierRequest.d.ts +1 -1
- package/dist/models/ConnectCarrierRequest.js +1 -1
- package/dist/models/CreateAddressRequest.d.ts +1 -1
- package/dist/models/CreateAddressRequest.js +1 -1
- package/dist/models/CreateApiToken201Response.d.ts +7 -1
- package/dist/models/CreateApiToken201Response.js +5 -1
- package/dist/models/CreateApiTokenRequest.d.ts +7 -1
- package/dist/models/CreateApiTokenRequest.js +3 -1
- package/dist/models/CreateOrder201Response.d.ts +1 -1
- package/dist/models/CreateOrder201Response.js +1 -1
- package/dist/models/CreateOrder201ResponseOrderLinesInner.d.ts +1 -1
- package/dist/models/CreateOrder201ResponseOrderLinesInner.js +1 -1
- package/dist/models/CreateOrder201ResponseShippingAddress.d.ts +1 -1
- package/dist/models/CreateOrder201ResponseShippingAddress.js +1 -1
- package/dist/models/CreateOrderRequest.d.ts +1 -1
- package/dist/models/CreateOrderRequest.js +1 -1
- package/dist/models/CreateOrderRequestOrderLinesInner.d.ts +1 -1
- package/dist/models/CreateOrderRequestOrderLinesInner.js +1 -1
- package/dist/models/CreateOrderRequestShippingAddress.d.ts +1 -1
- package/dist/models/CreateOrderRequestShippingAddress.js +1 -1
- package/dist/models/CreateOrgBrandRequest.d.ts +106 -0
- package/dist/models/CreateOrgBrandRequest.js +74 -0
- package/dist/models/CreateOrgWebhook201Response.d.ts +1 -1
- package/dist/models/CreateOrgWebhook201Response.js +1 -1
- package/dist/models/CreateOrgWebhookRequest.d.ts +1 -1
- package/dist/models/CreateOrgWebhookRequest.js +1 -1
- package/dist/models/CreateShipment201Response.d.ts +1 -1
- package/dist/models/CreateShipment201Response.js +1 -1
- package/dist/models/CreateShipment201ResponseActivitiesInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseActivitiesInner.js +1 -1
- package/dist/models/CreateShipment201ResponseDocumentsInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseDocumentsInner.js +1 -1
- package/dist/models/CreateShipment201ResponseErrorsInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseErrorsInner.js +1 -1
- package/dist/models/CreateShipment201ResponseLogsInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseLogsInner.js +1 -1
- package/dist/models/CreateShipment201ResponseParcelsInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseParcelsInner.js +1 -1
- package/dist/models/CreateShipment201ResponseParcelsInnerDimensions.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseParcelsInnerDimensions.js +1 -1
- package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.js +1 -1
- package/dist/models/CreateShipment201ResponsePartiesInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponsePartiesInner.js +1 -1
- package/dist/models/CreateShipment201ResponsePartiesInnerAttributesInner.d.ts +1 -1
- package/dist/models/CreateShipment201ResponsePartiesInnerAttributesInner.js +1 -1
- package/dist/models/CreateShipment201ResponsePickupDetails.d.ts +1 -1
- package/dist/models/CreateShipment201ResponsePickupDetails.js +1 -1
- package/dist/models/CreateShipment201ResponseShippingRule.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseShippingRule.js +1 -1
- package/dist/models/CreateShipment201ResponseTracking.d.ts +1 -1
- package/dist/models/CreateShipment201ResponseTracking.js +1 -1
- package/dist/models/CreateShipmentRequest.d.ts +1 -1
- package/dist/models/CreateShipmentRequest.js +1 -1
- package/dist/models/CreateShipmentRequestCarrierSettings.d.ts +1 -1
- package/dist/models/CreateShipmentRequestCarrierSettings.js +1 -1
- package/dist/models/CreateShipmentRequestParcelsInner.d.ts +1 -1
- package/dist/models/CreateShipmentRequestParcelsInner.js +1 -1
- package/dist/models/CreateShipmentRequestParcelsInnerDimensions.d.ts +1 -1
- package/dist/models/CreateShipmentRequestParcelsInnerDimensions.js +1 -1
- package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.d.ts +1 -1
- package/dist/models/CreateShipmentRequestParcelsInnerOrderLinesInner.js +1 -1
- package/dist/models/CreateShipmentRequestPartiesInner.d.ts +1 -1
- package/dist/models/CreateShipmentRequestPartiesInner.js +1 -1
- package/dist/models/CreateShipmentRequestPartiesInnerAttributesInner.d.ts +1 -1
- package/dist/models/CreateShipmentRequestPartiesInnerAttributesInner.js +1 -1
- package/dist/models/CreateShipmentRequestPickupDetails.d.ts +1 -1
- package/dist/models/CreateShipmentRequestPickupDetails.js +1 -1
- package/dist/models/CreateShippingQuote200Response.d.ts +1 -1
- package/dist/models/CreateShippingQuote200Response.js +1 -1
- package/dist/models/CreateShippingQuote200ResponseRatesInner.d.ts +1 -1
- package/dist/models/CreateShippingQuote200ResponseRatesInner.js +1 -1
- package/dist/models/CreateShippingQuote400Response.d.ts +1 -1
- package/dist/models/CreateShippingQuote400Response.js +1 -1
- package/dist/models/CreateShippingQuote404Response.d.ts +1 -1
- package/dist/models/CreateShippingQuote404Response.js +1 -1
- package/dist/models/CreateShippingQuoteRequest.d.ts +1 -1
- package/dist/models/CreateShippingQuoteRequest.js +1 -1
- package/dist/models/CreateShippingQuoteRequestDestination.d.ts +1 -1
- package/dist/models/CreateShippingQuoteRequestDestination.js +1 -1
- package/dist/models/CreateShippingQuoteRequestItemsInner.d.ts +1 -1
- package/dist/models/CreateShippingQuoteRequestItemsInner.js +1 -1
- package/dist/models/CreateShippingRule201Response.d.ts +1 -1
- package/dist/models/CreateShippingRule201Response.js +1 -1
- package/dist/models/CreateShippingRuleRequest.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequest.js +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParameters.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParameters.js +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfInner.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfInner.js +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfValue.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfValue.js +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOf.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOf.js +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOfCoordinatesInner.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOfCoordinatesInner.js +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInner.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInner.js +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf.js +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf1.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf1.js +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf2.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf2.js +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf3.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf3.js +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf4.d.ts +1 -1
- package/dist/models/CreateShippingRuleRequestConditionsInnerOneOf4.js +1 -1
- package/dist/models/DeleteOrgWebhook200Response.d.ts +1 -1
- package/dist/models/DeleteOrgWebhook200Response.js +1 -1
- package/dist/models/DeleteShippingRule200Response.d.ts +1 -1
- package/dist/models/DeleteShippingRule200Response.js +1 -1
- package/dist/models/GetBillingUsage200Response.d.ts +1 -1
- package/dist/models/GetBillingUsage200Response.js +1 -1
- package/dist/models/GetBillingUsage200ResponseAddOnsInner.d.ts +1 -1
- package/dist/models/GetBillingUsage200ResponseAddOnsInner.js +1 -1
- package/dist/models/GetBillingUsage200ResponseCurrentPeriod.d.ts +1 -1
- package/dist/models/GetBillingUsage200ResponseCurrentPeriod.js +1 -1
- package/dist/models/GetBillingUsage200ResponseLimits.d.ts +1 -1
- package/dist/models/GetBillingUsage200ResponseLimits.js +1 -1
- package/dist/models/GetBillingUsage200ResponseLimitsTeamMembers.d.ts +1 -1
- package/dist/models/GetBillingUsage200ResponseLimitsTeamMembers.js +1 -1
- package/dist/models/GetBillingUsage200ResponseShipments.d.ts +1 -1
- package/dist/models/GetBillingUsage200ResponseShipments.js +1 -1
- package/dist/models/GetOrder200Response.d.ts +1 -1
- package/dist/models/GetOrder200Response.js +1 -1
- package/dist/models/GetOrder200ResponseShipmentsInner.d.ts +1 -1
- package/dist/models/GetOrder200ResponseShipmentsInner.js +1 -1
- package/dist/models/GetOrder200ResponseShippingRule.d.ts +1 -1
- package/dist/models/GetOrder200ResponseShippingRule.js +1 -1
- package/dist/models/GetOrg200Response.d.ts +1 -1
- package/dist/models/GetOrg200Response.js +1 -1
- package/dist/models/GetOrg200ResponseCount.d.ts +1 -1
- package/dist/models/GetOrg200ResponseCount.js +1 -1
- package/dist/models/GetOrgBranding200Response.d.ts +1 -1
- package/dist/models/GetOrgBranding200Response.js +1 -1
- package/dist/models/HealthCheck200Response.d.ts +1 -1
- package/dist/models/HealthCheck200Response.js +1 -1
- package/dist/models/ListAddresses200Response.d.ts +1 -1
- package/dist/models/ListAddresses200Response.js +1 -1
- package/dist/models/ListAddresses200ResponseDataInner.d.ts +1 -1
- package/dist/models/ListAddresses200ResponseDataInner.js +1 -1
- package/dist/models/ListApiTokens200Response.d.ts +1 -1
- package/dist/models/ListApiTokens200Response.js +1 -1
- package/dist/models/ListApiTokens200ResponseDataInner.d.ts +7 -1
- package/dist/models/ListApiTokens200ResponseDataInner.js +5 -1
- package/dist/models/ListApiTokens200ResponseDataInnerCreatedBy.d.ts +1 -1
- package/dist/models/ListApiTokens200ResponseDataInnerCreatedBy.js +1 -1
- package/dist/models/ListApiTokens401Response.d.ts +7 -1
- package/dist/models/ListApiTokens401Response.js +7 -1
- package/dist/models/ListAvailableCarriers200ResponseInner.d.ts +1 -1
- package/dist/models/ListAvailableCarriers200ResponseInner.js +1 -1
- package/dist/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.d.ts +1 -1
- package/dist/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.js +1 -1
- package/dist/models/ListCarrierProductServicePoints200ResponseInner.d.ts +1 -1
- package/dist/models/ListCarrierProductServicePoints200ResponseInner.js +1 -1
- package/dist/models/ListCarrierProductServicePoints200ResponseInnerAddress.d.ts +1 -1
- package/dist/models/ListCarrierProductServicePoints200ResponseInnerAddress.js +1 -1
- package/dist/models/ListCarrierProductServicePointsRequest.d.ts +1 -1
- package/dist/models/ListCarrierProductServicePointsRequest.js +1 -1
- package/dist/models/ListCarrierProducts200ResponseInner.d.ts +1 -1
- package/dist/models/ListCarrierProducts200ResponseInner.js +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.d.ts +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.js +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.d.ts +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.js +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerServicesInner.d.ts +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerServicesInner.js +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerWeightLimits.d.ts +1 -1
- package/dist/models/ListCarrierProducts200ResponseInnerWeightLimits.js +1 -1
- package/dist/models/ListCarriers200Response.d.ts +1 -1
- package/dist/models/ListCarriers200Response.js +1 -1
- package/dist/models/ListCarriers200ResponseDataInner.d.ts +1 -1
- package/dist/models/ListCarriers200ResponseDataInner.js +1 -1
- package/dist/models/ListCarriers200ResponseDataInnerConfigValue.d.ts +1 -1
- package/dist/models/ListCarriers200ResponseDataInnerConfigValue.js +1 -1
- package/dist/models/ListOrders200Response.d.ts +1 -1
- package/dist/models/ListOrders200Response.js +1 -1
- package/dist/models/ListOrders200ResponseDataInner.d.ts +7 -1
- package/dist/models/ListOrders200ResponseDataInner.js +5 -1
- package/dist/models/ListOrders200ResponseDataInnerOrderChannel.d.ts +1 -1
- package/dist/models/ListOrders200ResponseDataInnerOrderChannel.js +1 -1
- package/dist/models/ListOrgBrands200Response.d.ts +33 -0
- package/dist/models/ListOrgBrands200Response.js +51 -0
- package/dist/models/ListOrgBrands200ResponseDataInner.d.ts +142 -0
- package/dist/models/ListOrgBrands200ResponseDataInner.js +102 -0
- package/dist/models/ListOrgWebhookDeliveries200Response.d.ts +1 -1
- package/dist/models/ListOrgWebhookDeliveries200Response.js +1 -1
- package/dist/models/ListOrgWebhookDeliveries200ResponseDataInner.d.ts +1 -1
- package/dist/models/ListOrgWebhookDeliveries200ResponseDataInner.js +1 -1
- package/dist/models/ListOrgWebhooks200Response.d.ts +1 -1
- package/dist/models/ListOrgWebhooks200Response.js +1 -1
- package/dist/models/ListOrgWebhooks200ResponseDataInner.d.ts +1 -1
- package/dist/models/ListOrgWebhooks200ResponseDataInner.js +1 -1
- package/dist/models/ListShipments200Response.d.ts +1 -1
- package/dist/models/ListShipments200Response.js +1 -1
- package/dist/models/ListShipments200ResponseDataInner.d.ts +7 -1
- package/dist/models/ListShipments200ResponseDataInner.js +5 -1
- package/dist/models/ListShipments200ResponseDataInnerAddress.d.ts +1 -1
- package/dist/models/ListShipments200ResponseDataInnerAddress.js +1 -1
- package/dist/models/ListShipments200ResponseDataInnerCarrierSettings.d.ts +1 -1
- package/dist/models/ListShipments200ResponseDataInnerCarrierSettings.js +1 -1
- package/dist/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValue.d.ts +1 -1
- package/dist/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValue.js +1 -1
- package/dist/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValueAnyOf.d.ts +1 -1
- package/dist/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValueAnyOf.js +1 -1
- package/dist/models/ListShippingRules200Response.d.ts +1 -1
- package/dist/models/ListShippingRules200Response.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInner.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInner.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersInner.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerAdditionalParametersInner.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerCarrier.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerCarrier.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInner.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInner.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerLabelPrinter.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerLabelPrinter.js +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerReturnShippingRule.d.ts +1 -1
- package/dist/models/ListShippingRules200ResponseDataInnerReturnShippingRule.js +1 -1
- package/dist/models/RevokeApiToken200Response.d.ts +1 -1
- package/dist/models/RevokeApiToken200Response.js +1 -1
- package/dist/models/SendShipment422Response.d.ts +7 -1
- package/dist/models/SendShipment422Response.js +7 -1
- package/dist/models/SendShipment422ResponseErrorsInner.d.ts +1 -1
- package/dist/models/SendShipment422ResponseErrorsInner.js +1 -1
- package/dist/models/SplitShipment201Response.d.ts +1 -1
- package/dist/models/SplitShipment201Response.js +1 -1
- package/dist/models/SplitShipmentParcel200Response.d.ts +1 -1
- package/dist/models/SplitShipmentParcel200Response.js +1 -1
- package/dist/models/SplitShipmentParcelRequest.d.ts +1 -1
- package/dist/models/SplitShipmentParcelRequest.js +1 -1
- package/dist/models/SplitShipmentParcelRequestParcelsInner.d.ts +1 -1
- package/dist/models/SplitShipmentParcelRequestParcelsInner.js +1 -1
- package/dist/models/SplitShipmentRequest.d.ts +1 -1
- package/dist/models/SplitShipmentRequest.js +1 -1
- package/dist/models/TestOrgWebhook200Response.d.ts +1 -1
- package/dist/models/TestOrgWebhook200Response.js +1 -1
- package/dist/models/TrackShipment200Response.d.ts +1 -1
- package/dist/models/TrackShipment200Response.js +1 -1
- package/dist/models/TrackShipment200ResponseEventsInner.d.ts +1 -1
- package/dist/models/TrackShipment200ResponseEventsInner.js +1 -1
- package/dist/models/UpdateAddressRequest.d.ts +1 -1
- package/dist/models/UpdateAddressRequest.js +1 -1
- package/dist/models/UpdateApiTokenRequest.d.ts +1 -1
- package/dist/models/UpdateApiTokenRequest.js +1 -1
- package/dist/models/UpdateCarrierRequest.d.ts +1 -1
- package/dist/models/UpdateCarrierRequest.js +1 -1
- package/dist/models/UpdateOrderRequest.d.ts +1 -1
- package/dist/models/UpdateOrderRequest.js +1 -1
- package/dist/models/UpdateOrg200Response.d.ts +1 -1
- package/dist/models/UpdateOrg200Response.js +1 -1
- package/dist/models/UpdateOrgBrandRequest.d.ts +106 -0
- package/dist/models/UpdateOrgBrandRequest.js +72 -0
- package/dist/models/UpdateOrgBrandingRequest.d.ts +1 -1
- package/dist/models/UpdateOrgBrandingRequest.js +1 -1
- package/dist/models/UpdateOrgRequest.d.ts +1 -1
- package/dist/models/UpdateOrgRequest.js +1 -1
- package/dist/models/UpdateOrgWebhookRequest.d.ts +1 -1
- package/dist/models/UpdateOrgWebhookRequest.js +1 -1
- package/dist/models/UpdateShipmentRequest.d.ts +1 -1
- package/dist/models/UpdateShipmentRequest.js +1 -1
- package/dist/models/UpdateShippingRuleRequest.d.ts +1 -1
- package/dist/models/UpdateShippingRuleRequest.js +1 -1
- package/dist/models/VerifyApiToken200Response.d.ts +1 -1
- package/dist/models/VerifyApiToken200Response.js +1 -1
- package/dist/models/VerifyApiTokenRequest.d.ts +1 -1
- package/dist/models/VerifyApiTokenRequest.js +1 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/docs/BrandsApi.md +795 -0
- package/docs/CheckBrandSlug200Response.md +36 -0
- package/docs/CreateApiToken201Response.md +2 -0
- package/docs/CreateApiTokenRequest.md +2 -0
- package/docs/CreateOrgBrandRequest.md +58 -0
- package/docs/ListApiTokens200ResponseDataInner.md +2 -0
- package/docs/ListOrders200ResponseDataInner.md +2 -0
- package/docs/ListOrgBrands200Response.md +34 -0
- package/docs/ListOrgBrands200ResponseDataInner.md +70 -0
- package/docs/ListShipments200ResponseDataInner.md +2 -0
- package/docs/OrdersApi.md +4 -1
- package/docs/OrgsApi.md +1 -1
- package/docs/ShipmentsApi.md +4 -1
- package/docs/UpdateOrgBrandRequest.md +58 -0
- package/package.json +1 -1
- package/src/apis/AddressesApi.ts +1 -1
- package/src/apis/BillingApi.ts +1 -1
- package/src/apis/BrandsApi.ts +770 -0
- package/src/apis/CarrierCatalogApi.ts +1 -1
- package/src/apis/CarriersApi.ts +1 -1
- package/src/apis/OrdersApi.ts +6 -1
- package/src/apis/OrgsApi.ts +1 -1
- package/src/apis/QuotesApi.ts +1 -1
- package/src/apis/RulesApi.ts +1 -1
- package/src/apis/ShipmentsApi.ts +6 -1
- package/src/apis/SystemApi.ts +1 -1
- package/src/apis/TokensApi.ts +1 -1
- package/src/apis/WebhooksApi.ts +1 -1
- package/src/apis/index.ts +1 -0
- package/src/models/BatchSendShipments200Response.ts +1 -1
- package/src/models/BatchSendShipments200ResponseResultsInner.ts +7 -1
- package/src/models/BatchSendShipments200ResponseSummary.ts +1 -1
- package/src/models/BatchSendShipmentsRequest.ts +1 -1
- package/src/models/BatchSplitShipment201Response.ts +1 -1
- package/src/models/BatchSplitShipmentRequest.ts +1 -1
- package/src/models/BatchSplitShipmentRequestShipmentsInner.ts +1 -1
- package/src/models/BatchSplitShipmentRequestShipmentsInnerOrderLinesInner.ts +1 -1
- package/src/models/CheckBrandSlug200Response.ts +75 -0
- package/src/models/ConnectCarrierRequest.ts +1 -1
- package/src/models/CreateAddressRequest.ts +1 -1
- package/src/models/CreateApiToken201Response.ts +10 -1
- package/src/models/CreateApiTokenRequest.ts +9 -1
- package/src/models/CreateOrder201Response.ts +1 -1
- package/src/models/CreateOrder201ResponseOrderLinesInner.ts +1 -1
- package/src/models/CreateOrder201ResponseShippingAddress.ts +1 -1
- package/src/models/CreateOrderRequest.ts +1 -1
- package/src/models/CreateOrderRequestOrderLinesInner.ts +1 -1
- package/src/models/CreateOrderRequestShippingAddress.ts +1 -1
- package/src/models/CreateOrgBrandRequest.ts +162 -0
- package/src/models/CreateOrgWebhook201Response.ts +1 -1
- package/src/models/CreateOrgWebhookRequest.ts +1 -1
- package/src/models/CreateShipment201Response.ts +1 -1
- package/src/models/CreateShipment201ResponseActivitiesInner.ts +1 -1
- package/src/models/CreateShipment201ResponseDocumentsInner.ts +1 -1
- package/src/models/CreateShipment201ResponseErrorsInner.ts +1 -1
- package/src/models/CreateShipment201ResponseLogsInner.ts +1 -1
- package/src/models/CreateShipment201ResponseParcelsInner.ts +1 -1
- package/src/models/CreateShipment201ResponseParcelsInnerDimensions.ts +1 -1
- package/src/models/CreateShipment201ResponseParcelsInnerOrderLinesInner.ts +1 -1
- package/src/models/CreateShipment201ResponsePartiesInner.ts +1 -1
- package/src/models/CreateShipment201ResponsePartiesInnerAttributesInner.ts +1 -1
- package/src/models/CreateShipment201ResponsePickupDetails.ts +1 -1
- package/src/models/CreateShipment201ResponseShippingRule.ts +1 -1
- package/src/models/CreateShipment201ResponseTracking.ts +1 -1
- package/src/models/CreateShipmentRequest.ts +1 -1
- package/src/models/CreateShipmentRequestCarrierSettings.ts +1 -1
- package/src/models/CreateShipmentRequestParcelsInner.ts +1 -1
- package/src/models/CreateShipmentRequestParcelsInnerDimensions.ts +1 -1
- package/src/models/CreateShipmentRequestParcelsInnerOrderLinesInner.ts +1 -1
- package/src/models/CreateShipmentRequestPartiesInner.ts +1 -1
- package/src/models/CreateShipmentRequestPartiesInnerAttributesInner.ts +1 -1
- package/src/models/CreateShipmentRequestPickupDetails.ts +1 -1
- package/src/models/CreateShippingQuote200Response.ts +1 -1
- package/src/models/CreateShippingQuote200ResponseRatesInner.ts +1 -1
- package/src/models/CreateShippingQuote400Response.ts +1 -1
- package/src/models/CreateShippingQuote404Response.ts +1 -1
- package/src/models/CreateShippingQuoteRequest.ts +1 -1
- package/src/models/CreateShippingQuoteRequestDestination.ts +1 -1
- package/src/models/CreateShippingQuoteRequestItemsInner.ts +1 -1
- package/src/models/CreateShippingRule201Response.ts +1 -1
- package/src/models/CreateShippingRuleRequest.ts +1 -1
- package/src/models/CreateShippingRuleRequestAdditionalParameters.ts +1 -1
- package/src/models/CreateShippingRuleRequestAdditionalParametersAnyOfInner.ts +1 -1
- package/src/models/CreateShippingRuleRequestAdditionalParametersAnyOfValue.ts +1 -1
- package/src/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOf.ts +1 -1
- package/src/models/CreateShippingRuleRequestAdditionalParametersAnyOfValueAnyOfCoordinatesInner.ts +1 -1
- package/src/models/CreateShippingRuleRequestConditionsInner.ts +1 -1
- package/src/models/CreateShippingRuleRequestConditionsInnerOneOf.ts +1 -1
- package/src/models/CreateShippingRuleRequestConditionsInnerOneOf1.ts +1 -1
- package/src/models/CreateShippingRuleRequestConditionsInnerOneOf2.ts +1 -1
- package/src/models/CreateShippingRuleRequestConditionsInnerOneOf3.ts +1 -1
- package/src/models/CreateShippingRuleRequestConditionsInnerOneOf4.ts +1 -1
- package/src/models/DeleteOrgWebhook200Response.ts +1 -1
- package/src/models/DeleteShippingRule200Response.ts +1 -1
- package/src/models/GetBillingUsage200Response.ts +1 -1
- package/src/models/GetBillingUsage200ResponseAddOnsInner.ts +1 -1
- package/src/models/GetBillingUsage200ResponseCurrentPeriod.ts +1 -1
- package/src/models/GetBillingUsage200ResponseLimits.ts +1 -1
- package/src/models/GetBillingUsage200ResponseLimitsTeamMembers.ts +1 -1
- package/src/models/GetBillingUsage200ResponseShipments.ts +1 -1
- package/src/models/GetOrder200Response.ts +1 -1
- package/src/models/GetOrder200ResponseShipmentsInner.ts +1 -1
- package/src/models/GetOrder200ResponseShippingRule.ts +1 -1
- package/src/models/GetOrg200Response.ts +1 -1
- package/src/models/GetOrg200ResponseCount.ts +1 -1
- package/src/models/GetOrgBranding200Response.ts +1 -1
- package/src/models/HealthCheck200Response.ts +1 -1
- package/src/models/ListAddresses200Response.ts +1 -1
- package/src/models/ListAddresses200ResponseDataInner.ts +1 -1
- package/src/models/ListApiTokens200Response.ts +1 -1
- package/src/models/ListApiTokens200ResponseDataInner.ts +10 -1
- package/src/models/ListApiTokens200ResponseDataInnerCreatedBy.ts +1 -1
- package/src/models/ListApiTokens401Response.ts +7 -1
- package/src/models/ListAvailableCarriers200ResponseInner.ts +1 -1
- package/src/models/ListAvailableCarriers200ResponseInnerRequiredFieldsInner.ts +1 -1
- package/src/models/ListCarrierProductServicePoints200ResponseInner.ts +1 -1
- package/src/models/ListCarrierProductServicePoints200ResponseInnerAddress.ts +1 -1
- package/src/models/ListCarrierProductServicePointsRequest.ts +1 -1
- package/src/models/ListCarrierProducts200ResponseInner.ts +1 -1
- package/src/models/ListCarrierProducts200ResponseInnerAdditionalParametersInner.ts +1 -1
- package/src/models/ListCarrierProducts200ResponseInnerAdditionalParametersInnerOptionsInner.ts +1 -1
- package/src/models/ListCarrierProducts200ResponseInnerServicesInner.ts +1 -1
- package/src/models/ListCarrierProducts200ResponseInnerWeightLimits.ts +1 -1
- package/src/models/ListCarriers200Response.ts +1 -1
- package/src/models/ListCarriers200ResponseDataInner.ts +1 -1
- package/src/models/ListCarriers200ResponseDataInnerConfigValue.ts +1 -1
- package/src/models/ListOrders200Response.ts +1 -1
- package/src/models/ListOrders200ResponseDataInner.ts +10 -1
- package/src/models/ListOrders200ResponseDataInnerOrderChannel.ts +1 -1
- package/src/models/ListOrgBrands200Response.ts +74 -0
- package/src/models/ListOrgBrands200ResponseDataInner.ts +218 -0
- package/src/models/ListOrgWebhookDeliveries200Response.ts +1 -1
- package/src/models/ListOrgWebhookDeliveries200ResponseDataInner.ts +1 -1
- package/src/models/ListOrgWebhooks200Response.ts +1 -1
- package/src/models/ListOrgWebhooks200ResponseDataInner.ts +1 -1
- package/src/models/ListShipments200Response.ts +1 -1
- package/src/models/ListShipments200ResponseDataInner.ts +10 -1
- package/src/models/ListShipments200ResponseDataInnerAddress.ts +1 -1
- package/src/models/ListShipments200ResponseDataInnerCarrierSettings.ts +1 -1
- package/src/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValue.ts +1 -1
- package/src/models/ListShipments200ResponseDataInnerCarrierSettingsAdditionalParametersValueAnyOf.ts +1 -1
- package/src/models/ListShippingRules200Response.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInner.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerAdditionalParametersInner.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerCarrier.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerConditionsInner.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf1.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf2.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf3.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerConditionsInnerOneOf4.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerLabelPrinter.ts +1 -1
- package/src/models/ListShippingRules200ResponseDataInnerReturnShippingRule.ts +1 -1
- package/src/models/RevokeApiToken200Response.ts +1 -1
- package/src/models/SendShipment422Response.ts +7 -1
- package/src/models/SendShipment422ResponseErrorsInner.ts +1 -1
- package/src/models/SplitShipment201Response.ts +1 -1
- package/src/models/SplitShipmentParcel200Response.ts +1 -1
- package/src/models/SplitShipmentParcelRequest.ts +1 -1
- package/src/models/SplitShipmentParcelRequestParcelsInner.ts +1 -1
- package/src/models/SplitShipmentRequest.ts +1 -1
- package/src/models/TestOrgWebhook200Response.ts +1 -1
- package/src/models/TrackShipment200Response.ts +1 -1
- package/src/models/TrackShipment200ResponseEventsInner.ts +1 -1
- package/src/models/UpdateAddressRequest.ts +1 -1
- package/src/models/UpdateApiTokenRequest.ts +1 -1
- package/src/models/UpdateCarrierRequest.ts +1 -1
- package/src/models/UpdateOrderRequest.ts +1 -1
- package/src/models/UpdateOrg200Response.ts +1 -1
- package/src/models/UpdateOrgBrandRequest.ts +161 -0
- package/src/models/UpdateOrgBrandingRequest.ts +1 -1
- package/src/models/UpdateOrgRequest.ts +1 -1
- package/src/models/UpdateOrgWebhookRequest.ts +1 -1
- package/src/models/UpdateShipmentRequest.ts +1 -1
- package/src/models/UpdateShippingRuleRequest.ts +1 -1
- package/src/models/VerifyApiToken200Response.ts +1 -1
- package/src/models/VerifyApiTokenRequest.ts +1 -1
- package/src/models/index.ts +5 -0
- package/src/runtime.ts +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zippendo Public API
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zippendo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CheckBrandSlug200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface CheckBrandSlug200Response {
|
|
18
|
+
/**
|
|
19
|
+
* The slug that was checked
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CheckBrandSlug200Response
|
|
22
|
+
*/
|
|
23
|
+
slug: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the slug is free within this organization
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof CheckBrandSlug200Response
|
|
28
|
+
*/
|
|
29
|
+
available: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CheckBrandSlug200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCheckBrandSlug200Response(value: object): value is CheckBrandSlug200Response;
|
|
35
|
+
export declare function CheckBrandSlug200ResponseFromJSON(json: any): CheckBrandSlug200Response;
|
|
36
|
+
export declare function CheckBrandSlug200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckBrandSlug200Response;
|
|
37
|
+
export declare function CheckBrandSlug200ResponseToJSON(json: any): CheckBrandSlug200Response;
|
|
38
|
+
export declare function CheckBrandSlug200ResponseToJSONTyped(value?: CheckBrandSlug200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Zippendo Public API
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@zippendo.com
|
|
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.instanceOfCheckBrandSlug200Response = instanceOfCheckBrandSlug200Response;
|
|
17
|
+
exports.CheckBrandSlug200ResponseFromJSON = CheckBrandSlug200ResponseFromJSON;
|
|
18
|
+
exports.CheckBrandSlug200ResponseFromJSONTyped = CheckBrandSlug200ResponseFromJSONTyped;
|
|
19
|
+
exports.CheckBrandSlug200ResponseToJSON = CheckBrandSlug200ResponseToJSON;
|
|
20
|
+
exports.CheckBrandSlug200ResponseToJSONTyped = CheckBrandSlug200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CheckBrandSlug200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCheckBrandSlug200Response(value) {
|
|
25
|
+
if (!('slug' in value) || value['slug'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('available' in value) || value['available'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CheckBrandSlug200ResponseFromJSON(json) {
|
|
32
|
+
return CheckBrandSlug200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CheckBrandSlug200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'slug': json['slug'],
|
|
40
|
+
'available': json['available'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CheckBrandSlug200ResponseToJSON(json) {
|
|
44
|
+
return CheckBrandSlug200ResponseToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CheckBrandSlug200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'slug': value['slug'],
|
|
52
|
+
'available': value['available'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -39,6 +39,12 @@ export interface CreateApiToken201Response {
|
|
|
39
39
|
* @memberof CreateApiToken201Response
|
|
40
40
|
*/
|
|
41
41
|
scopes: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Brand this token is restricted to, or null for organization-wide access
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateApiToken201Response
|
|
46
|
+
*/
|
|
47
|
+
brandId: string | null;
|
|
42
48
|
/**
|
|
43
49
|
* Timestamp the token was last used (ISO 8601), null if never used
|
|
44
50
|
* @type {string}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -30,6 +30,8 @@ function instanceOfCreateApiToken201Response(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('scopes' in value) || value['scopes'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
+
if (!('brandId' in value) || value['brandId'] === undefined)
|
|
34
|
+
return false;
|
|
33
35
|
if (!('lastUsedAt' in value) || value['lastUsedAt'] === undefined)
|
|
34
36
|
return false;
|
|
35
37
|
if (!('expiresAt' in value) || value['expiresAt'] === undefined)
|
|
@@ -52,6 +54,7 @@ function CreateApiToken201ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
54
|
'name': json['name'],
|
|
53
55
|
'tokenPrefix': json['tokenPrefix'],
|
|
54
56
|
'scopes': json['scopes'],
|
|
57
|
+
'brandId': json['brandId'],
|
|
55
58
|
'lastUsedAt': json['lastUsedAt'],
|
|
56
59
|
'expiresAt': json['expiresAt'],
|
|
57
60
|
'createdAt': json['createdAt'],
|
|
@@ -70,6 +73,7 @@ function CreateApiToken201ResponseToJSONTyped(value, ignoreDiscriminator = false
|
|
|
70
73
|
'name': value['name'],
|
|
71
74
|
'tokenPrefix': value['tokenPrefix'],
|
|
72
75
|
'scopes': value['scopes'],
|
|
76
|
+
'brandId': value['brandId'],
|
|
73
77
|
'lastUsedAt': value['lastUsedAt'],
|
|
74
78
|
'expiresAt': value['expiresAt'],
|
|
75
79
|
'createdAt': value['createdAt'],
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -33,6 +33,12 @@ export interface CreateApiTokenRequest {
|
|
|
33
33
|
* @memberof CreateApiTokenRequest
|
|
34
34
|
*/
|
|
35
35
|
expiresInDays?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Restrict this token to a single brand. Requests made with it can only read and write that brand's data. Omit for organization-wide access.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreateApiTokenRequest
|
|
40
|
+
*/
|
|
41
|
+
brandId?: string | null;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* @export
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -79,6 +79,7 @@ function CreateApiTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
79
79
|
'name': json['name'],
|
|
80
80
|
'scopes': json['scopes'],
|
|
81
81
|
'expiresInDays': json['expiresInDays'] == null ? undefined : json['expiresInDays'],
|
|
82
|
+
'brandId': json['brandId'] === undefined ? undefined : json['brandId'] === null ? null : json['brandId'],
|
|
82
83
|
};
|
|
83
84
|
}
|
|
84
85
|
function CreateApiTokenRequestToJSON(json) {
|
|
@@ -92,5 +93,6 @@ function CreateApiTokenRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
92
93
|
'name': value['name'],
|
|
93
94
|
'scopes': value['scopes'],
|
|
94
95
|
'expiresInDays': value['expiresInDays'],
|
|
96
|
+
'brandId': value['brandId'],
|
|
95
97
|
};
|
|
96
98
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Zippendo Public API
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@zippendo.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CreateOrgBrandRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateOrgBrandRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Legal entity name printed on this brand's documents
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateOrgBrandRequest
|
|
22
|
+
*/
|
|
23
|
+
companyName?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* VAT/tax ID for this brand's shipments and documents
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateOrgBrandRequest
|
|
28
|
+
*/
|
|
29
|
+
vatNumber?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Customs identifiers keyed by type
|
|
32
|
+
* @type {{ [key: string]: string; }}
|
|
33
|
+
* @memberof CreateOrgBrandRequest
|
|
34
|
+
*/
|
|
35
|
+
customs?: {
|
|
36
|
+
[key: string]: string;
|
|
37
|
+
} | null;
|
|
38
|
+
/**
|
|
39
|
+
* Street address line 1
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreateOrgBrandRequest
|
|
42
|
+
*/
|
|
43
|
+
addressLine1?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Street address line 2
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreateOrgBrandRequest
|
|
48
|
+
*/
|
|
49
|
+
addressLine2?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* City
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreateOrgBrandRequest
|
|
54
|
+
*/
|
|
55
|
+
city?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* Postal code
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreateOrgBrandRequest
|
|
60
|
+
*/
|
|
61
|
+
postalCode?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* Country (ISO 3166-1 alpha-2)
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreateOrgBrandRequest
|
|
66
|
+
*/
|
|
67
|
+
country?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* Primary brand colour — document title and table headers
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof CreateOrgBrandRequest
|
|
72
|
+
*/
|
|
73
|
+
primaryColor?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Secondary brand colour — subtitle, section headings, totals accent
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof CreateOrgBrandRequest
|
|
78
|
+
*/
|
|
79
|
+
secondaryColor?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* Brand display name
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof CreateOrgBrandRequest
|
|
84
|
+
*/
|
|
85
|
+
name: string;
|
|
86
|
+
/**
|
|
87
|
+
* URL-safe identifier, unique within the org. Derived from the name when omitted.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof CreateOrgBrandRequest
|
|
90
|
+
*/
|
|
91
|
+
slug?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Whether this brand ships under the organization's fiscal identity. True (the default) declares the organization's VAT number and customs identifiers and ignores the brand's own. False makes the brand's own values the sole source — nothing falls back to the organization, so an identifier the brand has not set is not declared at all.
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof CreateOrgBrandRequest
|
|
96
|
+
*/
|
|
97
|
+
useOrgCustoms?: boolean;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Check if a given object implements the CreateOrgBrandRequest interface.
|
|
101
|
+
*/
|
|
102
|
+
export declare function instanceOfCreateOrgBrandRequest(value: object): value is CreateOrgBrandRequest;
|
|
103
|
+
export declare function CreateOrgBrandRequestFromJSON(json: any): CreateOrgBrandRequest;
|
|
104
|
+
export declare function CreateOrgBrandRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateOrgBrandRequest;
|
|
105
|
+
export declare function CreateOrgBrandRequestToJSON(json: any): CreateOrgBrandRequest;
|
|
106
|
+
export declare function CreateOrgBrandRequestToJSONTyped(value?: CreateOrgBrandRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Zippendo Public API
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@zippendo.com
|
|
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.instanceOfCreateOrgBrandRequest = instanceOfCreateOrgBrandRequest;
|
|
17
|
+
exports.CreateOrgBrandRequestFromJSON = CreateOrgBrandRequestFromJSON;
|
|
18
|
+
exports.CreateOrgBrandRequestFromJSONTyped = CreateOrgBrandRequestFromJSONTyped;
|
|
19
|
+
exports.CreateOrgBrandRequestToJSON = CreateOrgBrandRequestToJSON;
|
|
20
|
+
exports.CreateOrgBrandRequestToJSONTyped = CreateOrgBrandRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CreateOrgBrandRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCreateOrgBrandRequest(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CreateOrgBrandRequestFromJSON(json) {
|
|
30
|
+
return CreateOrgBrandRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CreateOrgBrandRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'companyName': json['companyName'] === undefined ? undefined : json['companyName'] === null ? null : json['companyName'],
|
|
38
|
+
'vatNumber': json['vatNumber'] === undefined ? undefined : json['vatNumber'] === null ? null : json['vatNumber'],
|
|
39
|
+
'customs': json['customs'] === undefined ? undefined : json['customs'] === null ? null : json['customs'],
|
|
40
|
+
'addressLine1': json['addressLine1'] === undefined ? undefined : json['addressLine1'] === null ? null : json['addressLine1'],
|
|
41
|
+
'addressLine2': json['addressLine2'] === undefined ? undefined : json['addressLine2'] === null ? null : json['addressLine2'],
|
|
42
|
+
'city': json['city'] === undefined ? undefined : json['city'] === null ? null : json['city'],
|
|
43
|
+
'postalCode': json['postalCode'] === undefined ? undefined : json['postalCode'] === null ? null : json['postalCode'],
|
|
44
|
+
'country': json['country'] === undefined ? undefined : json['country'] === null ? null : json['country'],
|
|
45
|
+
'primaryColor': json['primaryColor'] === undefined ? undefined : json['primaryColor'] === null ? null : json['primaryColor'],
|
|
46
|
+
'secondaryColor': json['secondaryColor'] === undefined ? undefined : json['secondaryColor'] === null ? null : json['secondaryColor'],
|
|
47
|
+
'name': json['name'],
|
|
48
|
+
'slug': json['slug'] == null ? undefined : json['slug'],
|
|
49
|
+
'useOrgCustoms': json['useOrgCustoms'] == null ? undefined : json['useOrgCustoms'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function CreateOrgBrandRequestToJSON(json) {
|
|
53
|
+
return CreateOrgBrandRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function CreateOrgBrandRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'companyName': value['companyName'],
|
|
61
|
+
'vatNumber': value['vatNumber'],
|
|
62
|
+
'customs': value['customs'],
|
|
63
|
+
'addressLine1': value['addressLine1'],
|
|
64
|
+
'addressLine2': value['addressLine2'],
|
|
65
|
+
'city': value['city'],
|
|
66
|
+
'postalCode': value['postalCode'],
|
|
67
|
+
'country': value['country'],
|
|
68
|
+
'primaryColor': value['primaryColor'],
|
|
69
|
+
'secondaryColor': value['secondaryColor'],
|
|
70
|
+
'name': value['name'],
|
|
71
|
+
'slug': value['slug'],
|
|
72
|
+
'useOrgCustoms': value['useOrgCustoms'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Zippendo Public API
|
|
3
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
3
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0.0
|
|
6
6
|
* Contact: support@zippendo.com
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Zippendo Public API
|
|
6
|
-
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_).
|
|
6
|
+
* Public API documentation for Zippendo. Authenticate using your API token (Bearer token prefixed with zipp_). **Brands (sub-accounts).** An organization can be split into brands, each keeping its own orders, shipments and configuration separate. There are two ways to scope requests to one brand, and NEITHER changes any request body: 1. **Bind the token.** Create an API token with a `brandId` and every request it makes is confined to that brand — reads filtered, writes stamped. This is the recommended way to give a single brand\'s team its own credential. 2. **Send the `X-Zippendo-Brand` header.** An organization-wide token can scope an individual request by sending the brand\'s id or slug in this header. Most SDKs let you set it once on the client so every call inherits it. A brand-bound token that receives an `X-Zippendo-Brand` header naming a different brand is rejected with `403 BRAND_ACCESS_DENIED` — the binding is never widened. Omit both and requests cover the whole organization, which is the behaviour of every existing token. Records that belong to no brand carry `brandId: null`. Configuration (carriers, shipping rules, addresses) with a null brand is organization-wide and remains visible inside every brand; orders and shipments with a null brand are only visible organization-wide. Brands themselves are managed under the **Brands** tag. Retiring a brand is done with `POST /orgs/{orgId}/brands/{brandId}/archive` — permanent deletion is a dashboard-only action, since it is refused while any order, shipment, member or token still references the brand. Brands require a plan that includes them; creating one beyond your plan\'s limit returns `403`.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0.0
|
|
9
9
|
* Contact: support@zippendo.com
|