@maesn/typescript-sdk 0.3.0 → 0.3.1
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 +3 -0
- package/esm/funcs/accounting-get-account.js +11 -1
- package/esm/funcs/accounting-get-account.js.map +1 -1
- package/esm/funcs/accounting-get-accounts.js +11 -1
- package/esm/funcs/accounting-get-accounts.js.map +1 -1
- package/esm/funcs/accounting-get-async-task-info.js +11 -1
- package/esm/funcs/accounting-get-async-task-info.js.map +1 -1
- package/esm/funcs/accounting-get-bank-account.js +11 -1
- package/esm/funcs/accounting-get-bank-account.js.map +1 -1
- package/esm/funcs/accounting-get-bank-accounts.js +11 -1
- package/esm/funcs/accounting-get-bank-accounts.js.map +1 -1
- package/esm/funcs/accounting-get-bill-document.js +11 -1
- package/esm/funcs/accounting-get-bill-document.js.map +1 -1
- package/esm/funcs/accounting-get-bill-line-items.js +11 -1
- package/esm/funcs/accounting-get-bill-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-bill.js +11 -1
- package/esm/funcs/accounting-get-bill.js.map +1 -1
- package/esm/funcs/accounting-get-bills.js +11 -1
- package/esm/funcs/accounting-get-bills.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal-document.js +11 -1
- package/esm/funcs/accounting-get-booking-proposal-document.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal.js +11 -1
- package/esm/funcs/accounting-get-booking-proposal.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposals.js +11 -1
- package/esm/funcs/accounting-get-booking-proposals.js.map +1 -1
- package/esm/funcs/accounting-get-contact.js +11 -1
- package/esm/funcs/accounting-get-contact.js.map +1 -1
- package/esm/funcs/accounting-get-contacts.js +11 -1
- package/esm/funcs/accounting-get-contacts.js.map +1 -1
- package/esm/funcs/accounting-get-credit-note.js +11 -1
- package/esm/funcs/accounting-get-credit-note.js.map +1 -1
- package/esm/funcs/accounting-get-credit-notes.js +11 -1
- package/esm/funcs/accounting-get-credit-notes.js.map +1 -1
- package/esm/funcs/accounting-get-customer.js +11 -1
- package/esm/funcs/accounting-get-customer.js.map +1 -1
- package/esm/funcs/accounting-get-customers.js +11 -1
- package/esm/funcs/accounting-get-customers.js.map +1 -1
- package/esm/funcs/accounting-get-dimensions.js +11 -1
- package/esm/funcs/accounting-get-dimensions.js.map +1 -1
- package/esm/funcs/accounting-get-document-extensions.js +11 -1
- package/esm/funcs/accounting-get-document-extensions.js.map +1 -1
- package/esm/funcs/accounting-get-document-types.js +11 -1
- package/esm/funcs/accounting-get-document-types.js.map +1 -1
- package/esm/funcs/accounting-get-expense.js +11 -1
- package/esm/funcs/accounting-get-expense.js.map +1 -1
- package/esm/funcs/accounting-get-expenses.js +11 -1
- package/esm/funcs/accounting-get-expenses.js.map +1 -1
- package/esm/funcs/accounting-get-fiscal-year.js +11 -1
- package/esm/funcs/accounting-get-fiscal-year.js.map +1 -1
- package/esm/funcs/accounting-get-fiscal-years.js +11 -1
- package/esm/funcs/accounting-get-fiscal-years.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-item.js +11 -1
- package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-items.js +11 -1
- package/esm/funcs/accounting-get-goods-receipt-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt.js +11 -1
- package/esm/funcs/accounting-get-goods-receipt.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipts.js +11 -1
- package/esm/funcs/accounting-get-goods-receipts.js.map +1 -1
- package/esm/funcs/accounting-get-invoice-document.js +11 -1
- package/esm/funcs/accounting-get-invoice-document.js.map +1 -1
- package/esm/funcs/accounting-get-invoice.js +11 -1
- package/esm/funcs/accounting-get-invoice.js.map +1 -1
- package/esm/funcs/accounting-get-invoices.js +11 -1
- package/esm/funcs/accounting-get-invoices.js.map +1 -1
- package/esm/funcs/accounting-get-item.js +11 -1
- package/esm/funcs/accounting-get-item.js.map +1 -1
- package/esm/funcs/accounting-get-items.js +11 -1
- package/esm/funcs/accounting-get-items.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entries.js +11 -1
- package/esm/funcs/accounting-get-journal-entries.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js +11 -1
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachments.js +11 -1
- package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry.js +11 -1
- package/esm/funcs/accounting-get-journal-entry.js.map +1 -1
- package/esm/funcs/accounting-get-journals.js +11 -1
- package/esm/funcs/accounting-get-journals.js.map +1 -1
- package/esm/funcs/accounting-get-line-item.js +11 -1
- package/esm/funcs/accounting-get-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-line-items.js +11 -1
- package/esm/funcs/accounting-get-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-offer-document.js +11 -1
- package/esm/funcs/accounting-get-offer-document.js.map +1 -1
- package/esm/funcs/accounting-get-offer-line-item.js +11 -1
- package/esm/funcs/accounting-get-offer-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-offer-line-items.js +11 -1
- package/esm/funcs/accounting-get-offer-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-offer.js +11 -1
- package/esm/funcs/accounting-get-offer.js.map +1 -1
- package/esm/funcs/accounting-get-offers.js +11 -1
- package/esm/funcs/accounting-get-offers.js.map +1 -1
- package/esm/funcs/accounting-get-open-items.js +11 -1
- package/esm/funcs/accounting-get-open-items.js.map +1 -1
- package/esm/funcs/accounting-get-payment-term.js +11 -1
- package/esm/funcs/accounting-get-payment-term.js.map +1 -1
- package/esm/funcs/accounting-get-payment-terms.js +11 -1
- package/esm/funcs/accounting-get-payment-terms.js.map +1 -1
- package/esm/funcs/accounting-get-payment.js +11 -1
- package/esm/funcs/accounting-get-payment.js.map +1 -1
- package/esm/funcs/accounting-get-payments.js +11 -1
- package/esm/funcs/accounting-get-payments.js.map +1 -1
- package/esm/funcs/accounting-get-profile.js +11 -1
- package/esm/funcs/accounting-get-profile.js.map +1 -1
- package/esm/funcs/accounting-get-project.js +11 -1
- package/esm/funcs/accounting-get-project.js.map +1 -1
- package/esm/funcs/accounting-get-projects.js +11 -1
- package/esm/funcs/accounting-get-projects.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-item.js +11 -1
- package/esm/funcs/accounting-get-purchase-order-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-items.js +11 -1
- package/esm/funcs/accounting-get-purchase-order-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order.js +11 -1
- package/esm/funcs/accounting-get-purchase-order.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-orders.js +11 -1
- package/esm/funcs/accounting-get-purchase-orders.js.map +1 -1
- package/esm/funcs/accounting-get-sales-order-lines.js +11 -1
- package/esm/funcs/accounting-get-sales-order-lines.js.map +1 -1
- package/esm/funcs/accounting-get-sales-order.js +11 -1
- package/esm/funcs/accounting-get-sales-order.js.map +1 -1
- package/esm/funcs/accounting-get-sales-orders.js +11 -1
- package/esm/funcs/accounting-get-sales-orders.js.map +1 -1
- package/esm/funcs/accounting-get-supplier.js +11 -1
- package/esm/funcs/accounting-get-supplier.js.map +1 -1
- package/esm/funcs/accounting-get-suppliers.js +11 -1
- package/esm/funcs/accounting-get-suppliers.js.map +1 -1
- package/esm/funcs/accounting-get-tax-rate.js +11 -1
- package/esm/funcs/accounting-get-tax-rate.js.map +1 -1
- package/esm/funcs/accounting-get-tax-rates.js +11 -1
- package/esm/funcs/accounting-get-tax-rates.js.map +1 -1
- package/esm/funcs/accounting-get-trial-balance.js +11 -1
- package/esm/funcs/accounting-get-trial-balance.js.map +1 -1
- package/esm/funcs/accounting-get-units.js +11 -1
- package/esm/funcs/accounting-get-units.js.map +1 -1
- package/esm/funcs/accounting-get-vendor-credits.js +11 -1
- package/esm/funcs/accounting-get-vendor-credits.js.map +1 -1
- package/esm/funcs/accounting-v2-get-contact-v2.js +11 -1
- package/esm/funcs/accounting-v2-get-contact-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-get-contacts-v2.js +11 -1
- package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js +11 -1
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-v2.js +11 -1
- package/esm/funcs/accounting-v2-get-dimensions-v2.js.map +1 -1
- package/esm/funcs/auth-callback.js +11 -1
- package/esm/funcs/auth-callback.js.map +1 -1
- package/esm/funcs/auth-get-companies-flow.js +11 -1
- package/esm/funcs/auth-get-companies-flow.js.map +1 -1
- package/esm/funcs/auth-get-companies.js +11 -1
- package/esm/funcs/auth-get-companies.js.map +1 -1
- package/esm/funcs/auth-get-environment-page.js +11 -1
- package/esm/funcs/auth-get-environment-page.js.map +1 -1
- package/esm/funcs/auth-get-environments.js +11 -1
- package/esm/funcs/auth-get-environments.js.map +1 -1
- package/esm/funcs/auth-get-submit-page.js +11 -1
- package/esm/funcs/auth-get-submit-page.js.map +1 -1
- package/esm/funcs/auth-long-token.js +11 -1
- package/esm/funcs/auth-long-token.js.map +1 -1
- package/esm/funcs/auth-system-login-url.js +11 -1
- package/esm/funcs/auth-system-login-url.js.map +1 -1
- package/esm/funcs/auth-test.js +11 -1
- package/esm/funcs/auth-test.js.map +1 -1
- package/esm/funcs/health-check.js +12 -2
- package/esm/funcs/health-check.js.map +1 -1
- package/esm/funcs/health-details.js +11 -1
- package/esm/funcs/health-details.js.map +1 -1
- package/esm/funcs/tenants-count-end-users-by-system.js +11 -1
- package/esm/funcs/tenants-count-end-users-by-system.js.map +1 -1
- package/esm/funcs/tenants-get-all-active-end-users.js +11 -1
- package/esm/funcs/tenants-get-all-active-end-users.js.map +1 -1
- package/esm/funcs/tenants-get-callback-url.js +11 -1
- package/esm/funcs/tenants-get-callback-url.js.map +1 -1
- package/esm/funcs/tenants-get-end-user-list.js +11 -1
- package/esm/funcs/tenants-get-end-user-list.js.map +1 -1
- package/esm/funcs/tenants-get-registered-systems-masked.js +11 -1
- package/esm/funcs/tenants-get-registered-systems-masked.js.map +1 -1
- package/esm/funcs/tenants-get-registered-systems.js +11 -1
- package/esm/funcs/tenants-get-registered-systems.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.js +11 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style.js +11 -1
- package/esm/funcs/tenants-get-submission-page-style.js.map +1 -1
- package/esm/funcs/tenants-get-target-system-requirements.js +11 -1
- package/esm/funcs/tenants-get-target-system-requirements.js.map +1 -1
- package/esm/funcs/tenants-get-target-system-values.js +11 -1
- package/esm/funcs/tenants-get-target-system-values.js.map +1 -1
- package/esm/funcs/user-get-user-info.js +11 -1
- package/esm/funcs/user-get-user-info.js.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.js +12 -2
- package/esm/funcs/webhooks-get-webhooks.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounting-get-account.ts +11 -1
- package/src/funcs/accounting-get-accounts.ts +11 -1
- package/src/funcs/accounting-get-async-task-info.ts +11 -1
- package/src/funcs/accounting-get-bank-account.ts +11 -1
- package/src/funcs/accounting-get-bank-accounts.ts +11 -1
- package/src/funcs/accounting-get-bill-document.ts +11 -1
- package/src/funcs/accounting-get-bill-line-items.ts +11 -1
- package/src/funcs/accounting-get-bill.ts +11 -1
- package/src/funcs/accounting-get-bills.ts +11 -1
- package/src/funcs/accounting-get-booking-proposal-document.ts +11 -1
- package/src/funcs/accounting-get-booking-proposal.ts +11 -1
- package/src/funcs/accounting-get-booking-proposals.ts +11 -1
- package/src/funcs/accounting-get-contact.ts +11 -1
- package/src/funcs/accounting-get-contacts.ts +11 -1
- package/src/funcs/accounting-get-credit-note.ts +11 -1
- package/src/funcs/accounting-get-credit-notes.ts +11 -1
- package/src/funcs/accounting-get-customer.ts +11 -1
- package/src/funcs/accounting-get-customers.ts +11 -1
- package/src/funcs/accounting-get-dimensions.ts +11 -1
- package/src/funcs/accounting-get-document-extensions.ts +11 -1
- package/src/funcs/accounting-get-document-types.ts +11 -1
- package/src/funcs/accounting-get-expense.ts +11 -1
- package/src/funcs/accounting-get-expenses.ts +11 -1
- package/src/funcs/accounting-get-fiscal-year.ts +11 -1
- package/src/funcs/accounting-get-fiscal-years.ts +11 -1
- package/src/funcs/accounting-get-goods-receipt-line-item.ts +11 -1
- package/src/funcs/accounting-get-goods-receipt-line-items.ts +11 -1
- package/src/funcs/accounting-get-goods-receipt.ts +11 -1
- package/src/funcs/accounting-get-goods-receipts.ts +11 -1
- package/src/funcs/accounting-get-invoice-document.ts +11 -1
- package/src/funcs/accounting-get-invoice.ts +11 -1
- package/src/funcs/accounting-get-invoices.ts +11 -1
- package/src/funcs/accounting-get-item.ts +11 -1
- package/src/funcs/accounting-get-items.ts +11 -1
- package/src/funcs/accounting-get-journal-entries.ts +11 -1
- package/src/funcs/accounting-get-journal-entry-attachment-by-id.ts +11 -1
- package/src/funcs/accounting-get-journal-entry-attachments.ts +11 -1
- package/src/funcs/accounting-get-journal-entry.ts +11 -1
- package/src/funcs/accounting-get-journals.ts +11 -1
- package/src/funcs/accounting-get-line-item.ts +11 -1
- package/src/funcs/accounting-get-line-items.ts +11 -1
- package/src/funcs/accounting-get-offer-document.ts +11 -1
- package/src/funcs/accounting-get-offer-line-item.ts +11 -1
- package/src/funcs/accounting-get-offer-line-items.ts +11 -1
- package/src/funcs/accounting-get-offer.ts +11 -1
- package/src/funcs/accounting-get-offers.ts +11 -1
- package/src/funcs/accounting-get-open-items.ts +11 -1
- package/src/funcs/accounting-get-payment-term.ts +11 -1
- package/src/funcs/accounting-get-payment-terms.ts +11 -1
- package/src/funcs/accounting-get-payment.ts +11 -1
- package/src/funcs/accounting-get-payments.ts +11 -1
- package/src/funcs/accounting-get-profile.ts +11 -1
- package/src/funcs/accounting-get-project.ts +11 -1
- package/src/funcs/accounting-get-projects.ts +11 -1
- package/src/funcs/accounting-get-purchase-order-line-item.ts +11 -1
- package/src/funcs/accounting-get-purchase-order-line-items.ts +11 -1
- package/src/funcs/accounting-get-purchase-order.ts +11 -1
- package/src/funcs/accounting-get-purchase-orders.ts +11 -1
- package/src/funcs/accounting-get-sales-order-lines.ts +11 -1
- package/src/funcs/accounting-get-sales-order.ts +11 -1
- package/src/funcs/accounting-get-sales-orders.ts +11 -1
- package/src/funcs/accounting-get-supplier.ts +11 -1
- package/src/funcs/accounting-get-suppliers.ts +11 -1
- package/src/funcs/accounting-get-tax-rate.ts +11 -1
- package/src/funcs/accounting-get-tax-rates.ts +11 -1
- package/src/funcs/accounting-get-trial-balance.ts +11 -1
- package/src/funcs/accounting-get-units.ts +11 -1
- package/src/funcs/accounting-get-vendor-credits.ts +11 -1
- package/src/funcs/accounting-v2-get-contact-v2.ts +11 -1
- package/src/funcs/accounting-v2-get-contacts-v2.ts +11 -1
- package/src/funcs/accounting-v2-get-dimensions-by-dimension.ts +11 -1
- package/src/funcs/accounting-v2-get-dimensions-v2.ts +11 -1
- package/src/funcs/auth-callback.ts +11 -1
- package/src/funcs/auth-get-companies-flow.ts +11 -1
- package/src/funcs/auth-get-companies.ts +11 -1
- package/src/funcs/auth-get-environment-page.ts +11 -1
- package/src/funcs/auth-get-environments.ts +11 -1
- package/src/funcs/auth-get-submit-page.ts +11 -1
- package/src/funcs/auth-long-token.ts +11 -1
- package/src/funcs/auth-system-login-url.ts +11 -1
- package/src/funcs/auth-test.ts +11 -1
- package/src/funcs/health-check.ts +12 -2
- package/src/funcs/health-details.ts +11 -1
- package/src/funcs/tenants-count-end-users-by-system.ts +11 -1
- package/src/funcs/tenants-get-all-active-end-users.ts +11 -1
- package/src/funcs/tenants-get-callback-url.ts +11 -1
- package/src/funcs/tenants-get-end-user-list.ts +11 -1
- package/src/funcs/tenants-get-registered-systems-masked.ts +11 -1
- package/src/funcs/tenants-get-registered-systems.ts +11 -1
- package/src/funcs/tenants-get-submission-page-style-by-key.ts +11 -1
- package/src/funcs/tenants-get-submission-page-style.ts +11 -1
- package/src/funcs/tenants-get-target-system-requirements.ts +11 -1
- package/src/funcs/tenants-get-target-system-values.ts +11 -1
- package/src/funcs/user-get-user-info.ts +11 -1
- package/src/funcs/webhooks-get-webhooks.ts +12 -2
- package/src/lib/config.ts +2 -2
|
@@ -110,8 +110,18 @@ async function $do(
|
|
|
110
110
|
securitySource: client._options.security,
|
|
111
111
|
retryConfig: options?.retries
|
|
112
112
|
|| client._options.retryConfig
|
|
113
|
+
|| {
|
|
114
|
+
strategy: "backoff",
|
|
115
|
+
backoff: {
|
|
116
|
+
initialInterval: 500,
|
|
117
|
+
maxInterval: 60000,
|
|
118
|
+
exponent: 1.5,
|
|
119
|
+
maxElapsedTime: 3600000,
|
|
120
|
+
},
|
|
121
|
+
retryConnectionErrors: true,
|
|
122
|
+
}
|
|
113
123
|
|| { strategy: "none" },
|
|
114
|
-
retryCodes: options?.retryCodes || ["
|
|
124
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
115
125
|
};
|
|
116
126
|
|
|
117
127
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -113,8 +113,18 @@ async function $do(
|
|
|
113
113
|
securitySource: client._options.security,
|
|
114
114
|
retryConfig: options?.retries
|
|
115
115
|
|| client._options.retryConfig
|
|
116
|
+
|| {
|
|
117
|
+
strategy: "backoff",
|
|
118
|
+
backoff: {
|
|
119
|
+
initialInterval: 500,
|
|
120
|
+
maxInterval: 60000,
|
|
121
|
+
exponent: 1.5,
|
|
122
|
+
maxElapsedTime: 3600000,
|
|
123
|
+
},
|
|
124
|
+
retryConnectionErrors: true,
|
|
125
|
+
}
|
|
116
126
|
|| { strategy: "none" },
|
|
117
|
-
retryCodes: options?.retryCodes || ["
|
|
127
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
118
128
|
};
|
|
119
129
|
|
|
120
130
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -113,8 +113,18 @@ async function $do(
|
|
|
113
113
|
securitySource: client._options.security,
|
|
114
114
|
retryConfig: options?.retries
|
|
115
115
|
|| client._options.retryConfig
|
|
116
|
+
|| {
|
|
117
|
+
strategy: "backoff",
|
|
118
|
+
backoff: {
|
|
119
|
+
initialInterval: 500,
|
|
120
|
+
maxInterval: 60000,
|
|
121
|
+
exponent: 1.5,
|
|
122
|
+
maxElapsedTime: 3600000,
|
|
123
|
+
},
|
|
124
|
+
retryConnectionErrors: true,
|
|
125
|
+
}
|
|
116
126
|
|| { strategy: "none" },
|
|
117
|
-
retryCodes: options?.retryCodes || ["
|
|
127
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
118
128
|
};
|
|
119
129
|
|
|
120
130
|
const requestRes = client._createRequest(context, {
|
|
@@ -113,8 +113,18 @@ async function $do(
|
|
|
113
113
|
securitySource: client._options.security,
|
|
114
114
|
retryConfig: options?.retries
|
|
115
115
|
|| client._options.retryConfig
|
|
116
|
+
|| {
|
|
117
|
+
strategy: "backoff",
|
|
118
|
+
backoff: {
|
|
119
|
+
initialInterval: 500,
|
|
120
|
+
maxInterval: 60000,
|
|
121
|
+
exponent: 1.5,
|
|
122
|
+
maxElapsedTime: 3600000,
|
|
123
|
+
},
|
|
124
|
+
retryConnectionErrors: true,
|
|
125
|
+
}
|
|
116
126
|
|| { strategy: "none" },
|
|
117
|
-
retryCodes: options?.retryCodes || ["
|
|
127
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
118
128
|
};
|
|
119
129
|
|
|
120
130
|
const requestRes = client._createRequest(context, {
|
|
@@ -108,8 +108,18 @@ async function $do(
|
|
|
108
108
|
securitySource: client._options.security,
|
|
109
109
|
retryConfig: options?.retries
|
|
110
110
|
|| client._options.retryConfig
|
|
111
|
+
|| {
|
|
112
|
+
strategy: "backoff",
|
|
113
|
+
backoff: {
|
|
114
|
+
initialInterval: 500,
|
|
115
|
+
maxInterval: 60000,
|
|
116
|
+
exponent: 1.5,
|
|
117
|
+
maxElapsedTime: 3600000,
|
|
118
|
+
},
|
|
119
|
+
retryConnectionErrors: true,
|
|
120
|
+
}
|
|
111
121
|
|| { strategy: "none" },
|
|
112
|
-
retryCodes: options?.retryCodes || ["
|
|
122
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
113
123
|
};
|
|
114
124
|
|
|
115
125
|
const requestRes = client._createRequest(context, {
|
|
@@ -108,8 +108,18 @@ async function $do(
|
|
|
108
108
|
securitySource: client._options.security,
|
|
109
109
|
retryConfig: options?.retries
|
|
110
110
|
|| client._options.retryConfig
|
|
111
|
+
|| {
|
|
112
|
+
strategy: "backoff",
|
|
113
|
+
backoff: {
|
|
114
|
+
initialInterval: 500,
|
|
115
|
+
maxInterval: 60000,
|
|
116
|
+
exponent: 1.5,
|
|
117
|
+
maxElapsedTime: 3600000,
|
|
118
|
+
},
|
|
119
|
+
retryConnectionErrors: true,
|
|
120
|
+
}
|
|
111
121
|
|| { strategy: "none" },
|
|
112
|
-
retryCodes: options?.retryCodes || ["
|
|
122
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
113
123
|
};
|
|
114
124
|
|
|
115
125
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -109,8 +109,18 @@ async function $do(
|
|
|
109
109
|
securitySource: client._options.security,
|
|
110
110
|
retryConfig: options?.retries
|
|
111
111
|
|| client._options.retryConfig
|
|
112
|
+
|| {
|
|
113
|
+
strategy: "backoff",
|
|
114
|
+
backoff: {
|
|
115
|
+
initialInterval: 500,
|
|
116
|
+
maxInterval: 60000,
|
|
117
|
+
exponent: 1.5,
|
|
118
|
+
maxElapsedTime: 3600000,
|
|
119
|
+
},
|
|
120
|
+
retryConnectionErrors: true,
|
|
121
|
+
}
|
|
112
122
|
|| { strategy: "none" },
|
|
113
|
-
retryCodes: options?.retryCodes || ["
|
|
123
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
114
124
|
};
|
|
115
125
|
|
|
116
126
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -110,8 +110,18 @@ async function $do(
|
|
|
110
110
|
securitySource: client._options.security,
|
|
111
111
|
retryConfig: options?.retries
|
|
112
112
|
|| client._options.retryConfig
|
|
113
|
+
|| {
|
|
114
|
+
strategy: "backoff",
|
|
115
|
+
backoff: {
|
|
116
|
+
initialInterval: 500,
|
|
117
|
+
maxInterval: 60000,
|
|
118
|
+
exponent: 1.5,
|
|
119
|
+
maxElapsedTime: 3600000,
|
|
120
|
+
},
|
|
121
|
+
retryConnectionErrors: true,
|
|
122
|
+
}
|
|
113
123
|
|| { strategy: "none" },
|
|
114
|
-
retryCodes: options?.retryCodes || ["
|
|
124
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
115
125
|
};
|
|
116
126
|
|
|
117
127
|
const requestRes = client._createRequest(context, {
|
|
@@ -119,8 +119,18 @@ async function $do(
|
|
|
119
119
|
securitySource: client._options.security,
|
|
120
120
|
retryConfig: options?.retries
|
|
121
121
|
|| client._options.retryConfig
|
|
122
|
+
|| {
|
|
123
|
+
strategy: "backoff",
|
|
124
|
+
backoff: {
|
|
125
|
+
initialInterval: 500,
|
|
126
|
+
maxInterval: 60000,
|
|
127
|
+
exponent: 1.5,
|
|
128
|
+
maxElapsedTime: 3600000,
|
|
129
|
+
},
|
|
130
|
+
retryConnectionErrors: true,
|
|
131
|
+
}
|
|
122
132
|
|| { strategy: "none" },
|
|
123
|
-
retryCodes: options?.retryCodes || ["
|
|
133
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
124
134
|
};
|
|
125
135
|
|
|
126
136
|
const requestRes = client._createRequest(context, {
|
|
@@ -116,8 +116,18 @@ async function $do(
|
|
|
116
116
|
securitySource: client._options.security,
|
|
117
117
|
retryConfig: options?.retries
|
|
118
118
|
|| client._options.retryConfig
|
|
119
|
+
|| {
|
|
120
|
+
strategy: "backoff",
|
|
121
|
+
backoff: {
|
|
122
|
+
initialInterval: 500,
|
|
123
|
+
maxInterval: 60000,
|
|
124
|
+
exponent: 1.5,
|
|
125
|
+
maxElapsedTime: 3600000,
|
|
126
|
+
},
|
|
127
|
+
retryConnectionErrors: true,
|
|
128
|
+
}
|
|
119
129
|
|| { strategy: "none" },
|
|
120
|
-
retryCodes: options?.retryCodes || ["
|
|
130
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
121
131
|
};
|
|
122
132
|
|
|
123
133
|
const requestRes = client._createRequest(context, {
|
|
@@ -114,8 +114,18 @@ async function $do(
|
|
|
114
114
|
securitySource: client._options.security,
|
|
115
115
|
retryConfig: options?.retries
|
|
116
116
|
|| client._options.retryConfig
|
|
117
|
+
|| {
|
|
118
|
+
strategy: "backoff",
|
|
119
|
+
backoff: {
|
|
120
|
+
initialInterval: 500,
|
|
121
|
+
maxInterval: 60000,
|
|
122
|
+
exponent: 1.5,
|
|
123
|
+
maxElapsedTime: 3600000,
|
|
124
|
+
},
|
|
125
|
+
retryConnectionErrors: true,
|
|
126
|
+
}
|
|
117
127
|
|| { strategy: "none" },
|
|
118
|
-
retryCodes: options?.retryCodes || ["
|
|
128
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
119
129
|
};
|
|
120
130
|
|
|
121
131
|
const requestRes = client._createRequest(context, {
|
|
@@ -113,8 +113,18 @@ async function $do(
|
|
|
113
113
|
securitySource: client._options.security,
|
|
114
114
|
retryConfig: options?.retries
|
|
115
115
|
|| client._options.retryConfig
|
|
116
|
+
|| {
|
|
117
|
+
strategy: "backoff",
|
|
118
|
+
backoff: {
|
|
119
|
+
initialInterval: 500,
|
|
120
|
+
maxInterval: 60000,
|
|
121
|
+
exponent: 1.5,
|
|
122
|
+
maxElapsedTime: 3600000,
|
|
123
|
+
},
|
|
124
|
+
retryConnectionErrors: true,
|
|
125
|
+
}
|
|
116
126
|
|| { strategy: "none" },
|
|
117
|
-
retryCodes: options?.retryCodes || ["
|
|
127
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
118
128
|
};
|
|
119
129
|
|
|
120
130
|
const requestRes = client._createRequest(context, {
|
|
@@ -114,8 +114,18 @@ async function $do(
|
|
|
114
114
|
securitySource: client._options.security,
|
|
115
115
|
retryConfig: options?.retries
|
|
116
116
|
|| client._options.retryConfig
|
|
117
|
+
|| {
|
|
118
|
+
strategy: "backoff",
|
|
119
|
+
backoff: {
|
|
120
|
+
initialInterval: 500,
|
|
121
|
+
maxInterval: 60000,
|
|
122
|
+
exponent: 1.5,
|
|
123
|
+
maxElapsedTime: 3600000,
|
|
124
|
+
},
|
|
125
|
+
retryConnectionErrors: true,
|
|
126
|
+
}
|
|
117
127
|
|| { strategy: "none" },
|
|
118
|
-
retryCodes: options?.retryCodes || ["
|
|
128
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
119
129
|
};
|
|
120
130
|
|
|
121
131
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -115,8 +115,18 @@ async function $do(
|
|
|
115
115
|
securitySource: client._options.security,
|
|
116
116
|
retryConfig: options?.retries
|
|
117
117
|
|| client._options.retryConfig
|
|
118
|
+
|| {
|
|
119
|
+
strategy: "backoff",
|
|
120
|
+
backoff: {
|
|
121
|
+
initialInterval: 500,
|
|
122
|
+
maxInterval: 60000,
|
|
123
|
+
exponent: 1.5,
|
|
124
|
+
maxElapsedTime: 3600000,
|
|
125
|
+
},
|
|
126
|
+
retryConnectionErrors: true,
|
|
127
|
+
}
|
|
118
128
|
|| { strategy: "none" },
|
|
119
|
-
retryCodes: options?.retryCodes || ["
|
|
129
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
120
130
|
};
|
|
121
131
|
|
|
122
132
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -115,8 +115,18 @@ async function $do(
|
|
|
115
115
|
securitySource: client._options.security,
|
|
116
116
|
retryConfig: options?.retries
|
|
117
117
|
|| client._options.retryConfig
|
|
118
|
+
|| {
|
|
119
|
+
strategy: "backoff",
|
|
120
|
+
backoff: {
|
|
121
|
+
initialInterval: 500,
|
|
122
|
+
maxInterval: 60000,
|
|
123
|
+
exponent: 1.5,
|
|
124
|
+
maxElapsedTime: 3600000,
|
|
125
|
+
},
|
|
126
|
+
retryConnectionErrors: true,
|
|
127
|
+
}
|
|
118
128
|
|| { strategy: "none" },
|
|
119
|
-
retryCodes: options?.retryCodes || ["
|
|
129
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
120
130
|
};
|
|
121
131
|
|
|
122
132
|
const requestRes = client._createRequest(context, {
|
|
@@ -121,8 +121,18 @@ async function $do(
|
|
|
121
121
|
securitySource: client._options.security,
|
|
122
122
|
retryConfig: options?.retries
|
|
123
123
|
|| client._options.retryConfig
|
|
124
|
+
|| {
|
|
125
|
+
strategy: "backoff",
|
|
126
|
+
backoff: {
|
|
127
|
+
initialInterval: 500,
|
|
128
|
+
maxInterval: 60000,
|
|
129
|
+
exponent: 1.5,
|
|
130
|
+
maxElapsedTime: 3600000,
|
|
131
|
+
},
|
|
132
|
+
retryConnectionErrors: true,
|
|
133
|
+
}
|
|
124
134
|
|| { strategy: "none" },
|
|
125
|
-
retryCodes: options?.retryCodes || ["
|
|
135
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
126
136
|
};
|
|
127
137
|
|
|
128
138
|
const requestRes = client._createRequest(context, {
|
|
@@ -117,8 +117,18 @@ async function $do(
|
|
|
117
117
|
securitySource: client._options.security,
|
|
118
118
|
retryConfig: options?.retries
|
|
119
119
|
|| client._options.retryConfig
|
|
120
|
+
|| {
|
|
121
|
+
strategy: "backoff",
|
|
122
|
+
backoff: {
|
|
123
|
+
initialInterval: 500,
|
|
124
|
+
maxInterval: 60000,
|
|
125
|
+
exponent: 1.5,
|
|
126
|
+
maxElapsedTime: 3600000,
|
|
127
|
+
},
|
|
128
|
+
retryConnectionErrors: true,
|
|
129
|
+
}
|
|
120
130
|
|| { strategy: "none" },
|
|
121
|
-
retryCodes: options?.retryCodes || ["
|
|
131
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
122
132
|
};
|
|
123
133
|
|
|
124
134
|
const requestRes = client._createRequest(context, {
|
|
@@ -115,8 +115,18 @@ async function $do(
|
|
|
115
115
|
securitySource: client._options.security,
|
|
116
116
|
retryConfig: options?.retries
|
|
117
117
|
|| client._options.retryConfig
|
|
118
|
+
|| {
|
|
119
|
+
strategy: "backoff",
|
|
120
|
+
backoff: {
|
|
121
|
+
initialInterval: 500,
|
|
122
|
+
maxInterval: 60000,
|
|
123
|
+
exponent: 1.5,
|
|
124
|
+
maxElapsedTime: 3600000,
|
|
125
|
+
},
|
|
126
|
+
retryConnectionErrors: true,
|
|
127
|
+
}
|
|
118
128
|
|| { strategy: "none" },
|
|
119
|
-
retryCodes: options?.retryCodes || ["
|
|
129
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
120
130
|
};
|
|
121
131
|
|
|
122
132
|
const requestRes = client._createRequest(context, {
|
|
@@ -110,8 +110,18 @@ async function $do(
|
|
|
110
110
|
securitySource: client._options.security,
|
|
111
111
|
retryConfig: options?.retries
|
|
112
112
|
|| client._options.retryConfig
|
|
113
|
+
|| {
|
|
114
|
+
strategy: "backoff",
|
|
115
|
+
backoff: {
|
|
116
|
+
initialInterval: 500,
|
|
117
|
+
maxInterval: 60000,
|
|
118
|
+
exponent: 1.5,
|
|
119
|
+
maxElapsedTime: 3600000,
|
|
120
|
+
},
|
|
121
|
+
retryConnectionErrors: true,
|
|
122
|
+
}
|
|
113
123
|
|| { strategy: "none" },
|
|
114
|
-
retryCodes: options?.retryCodes || ["
|
|
124
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
115
125
|
};
|
|
116
126
|
|
|
117
127
|
const requestRes = client._createRequest(context, {
|
|
@@ -118,8 +118,18 @@ async function $do(
|
|
|
118
118
|
securitySource: client._options.security,
|
|
119
119
|
retryConfig: options?.retries
|
|
120
120
|
|| client._options.retryConfig
|
|
121
|
+
|| {
|
|
122
|
+
strategy: "backoff",
|
|
123
|
+
backoff: {
|
|
124
|
+
initialInterval: 500,
|
|
125
|
+
maxInterval: 60000,
|
|
126
|
+
exponent: 1.5,
|
|
127
|
+
maxElapsedTime: 3600000,
|
|
128
|
+
},
|
|
129
|
+
retryConnectionErrors: true,
|
|
130
|
+
}
|
|
121
131
|
|| { strategy: "none" },
|
|
122
|
-
retryCodes: options?.retryCodes || ["
|
|
132
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
123
133
|
};
|
|
124
134
|
|
|
125
135
|
const requestRes = client._createRequest(context, {
|
|
@@ -117,8 +117,18 @@ async function $do(
|
|
|
117
117
|
securitySource: client._options.security,
|
|
118
118
|
retryConfig: options?.retries
|
|
119
119
|
|| client._options.retryConfig
|
|
120
|
+
|| {
|
|
121
|
+
strategy: "backoff",
|
|
122
|
+
backoff: {
|
|
123
|
+
initialInterval: 500,
|
|
124
|
+
maxInterval: 60000,
|
|
125
|
+
exponent: 1.5,
|
|
126
|
+
maxElapsedTime: 3600000,
|
|
127
|
+
},
|
|
128
|
+
retryConnectionErrors: true,
|
|
129
|
+
}
|
|
120
130
|
|| { strategy: "none" },
|
|
121
|
-
retryCodes: options?.retryCodes || ["
|
|
131
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
122
132
|
};
|
|
123
133
|
|
|
124
134
|
const requestRes = client._createRequest(context, {
|
|
@@ -112,8 +112,18 @@ async function $do(
|
|
|
112
112
|
securitySource: client._options.security,
|
|
113
113
|
retryConfig: options?.retries
|
|
114
114
|
|| client._options.retryConfig
|
|
115
|
+
|| {
|
|
116
|
+
strategy: "backoff",
|
|
117
|
+
backoff: {
|
|
118
|
+
initialInterval: 500,
|
|
119
|
+
maxInterval: 60000,
|
|
120
|
+
exponent: 1.5,
|
|
121
|
+
maxElapsedTime: 3600000,
|
|
122
|
+
},
|
|
123
|
+
retryConnectionErrors: true,
|
|
124
|
+
}
|
|
115
125
|
|| { strategy: "none" },
|
|
116
|
-
retryCodes: options?.retryCodes || ["
|
|
126
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
const requestRes = client._createRequest(context, {
|
|
@@ -119,8 +119,18 @@ async function $do(
|
|
|
119
119
|
securitySource: client._options.security,
|
|
120
120
|
retryConfig: options?.retries
|
|
121
121
|
|| client._options.retryConfig
|
|
122
|
+
|| {
|
|
123
|
+
strategy: "backoff",
|
|
124
|
+
backoff: {
|
|
125
|
+
initialInterval: 500,
|
|
126
|
+
maxInterval: 60000,
|
|
127
|
+
exponent: 1.5,
|
|
128
|
+
maxElapsedTime: 3600000,
|
|
129
|
+
},
|
|
130
|
+
retryConnectionErrors: true,
|
|
131
|
+
}
|
|
122
132
|
|| { strategy: "none" },
|
|
123
|
-
retryCodes: options?.retryCodes || ["
|
|
133
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
124
134
|
};
|
|
125
135
|
|
|
126
136
|
const requestRes = client._createRequest(context, {
|
|
@@ -116,8 +116,18 @@ async function $do(
|
|
|
116
116
|
securitySource: client._options.security,
|
|
117
117
|
retryConfig: options?.retries
|
|
118
118
|
|| client._options.retryConfig
|
|
119
|
+
|| {
|
|
120
|
+
strategy: "backoff",
|
|
121
|
+
backoff: {
|
|
122
|
+
initialInterval: 500,
|
|
123
|
+
maxInterval: 60000,
|
|
124
|
+
exponent: 1.5,
|
|
125
|
+
maxElapsedTime: 3600000,
|
|
126
|
+
},
|
|
127
|
+
retryConnectionErrors: true,
|
|
128
|
+
}
|
|
119
129
|
|| { strategy: "none" },
|
|
120
|
-
retryCodes: options?.retryCodes || ["
|
|
130
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
121
131
|
};
|
|
122
132
|
|
|
123
133
|
const requestRes = client._createRequest(context, {
|